Skip to content

Commit b754d9f

Browse files
committed
Comment updated for native commands.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 26b75fd commit b754d9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+479
-159
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/AdvancementCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/BanCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/BanIpCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/BanListCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/BossBarCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/ClearCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/CloneCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/DataPackCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
@file:Suppress("DuplicatedCode")

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/DeOpCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
package com.mairwunnx.projectessentials.core.impl.vanilla.commands

src/main/kotlin/com/mairwunnx/projectessentials/core/impl/vanilla/commands/DebugCommand.kt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
/**
2-
* Command realization by Minecraft, converted
3-
* from java to kotlin with small changes, e.g
4-
* added check on permissions and aliases register.
2+
* This command implementation by Mojang.
3+
* And decompiled with idea source code was converted
4+
* to kotlin code.
5+
* Also added some logic, for example checking on
6+
* permissions, and for some commands shorten aliases.
7+
*
8+
* 1. This can be bad code.
9+
* 2. This file can be not formatter pretty.
510
*/
611

712
@file:Suppress("FunctionName")

0 commit comments

Comments
 (0)