feat: 1.21.4
This commit is contained in:
@@ -1 +1 @@
|
||||
1341
|
||||
1346
|
||||
@@ -41,7 +41,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'org.geysermc.mcprotocollib:protocol:1.21.2-SNAPSHOT'
|
||||
implementation 'org.geysermc.mcprotocollib:protocol:1.21.4-SNAPSHOT'
|
||||
implementation 'net.kyori:adventure-text-serializer-ansi:4.15.0'
|
||||
implementation 'com.google.code.gson:gson:2.11.0'
|
||||
implementation 'com.google.guava:guava:31.1-jre'
|
||||
|
||||
@@ -35,6 +35,9 @@ import java.util.concurrent.ScheduledFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
public class CorePlugin extends PositionPlugin.Listener {
|
||||
public static final int COMMAND_BLOCK_ID = 418;
|
||||
public static final int REPEATING_COMMAND_BLOCK_ID = 537;
|
||||
|
||||
private final Bot bot;
|
||||
|
||||
private final List<Listener> listeners = new ArrayList<>();
|
||||
@@ -265,8 +268,8 @@ public class CorePlugin extends PositionPlugin.Listener {
|
||||
(short) 36,
|
||||
new ItemStack(
|
||||
bot.serverPluginsManager.hasPlugin(ServerPluginsManagerPlugin.EXTRAS) ?
|
||||
528 /* repeating command block id */ :
|
||||
409 /* command block id */,
|
||||
REPEATING_COMMAND_BLOCK_ID :
|
||||
COMMAND_BLOCK_ID,
|
||||
64,
|
||||
dataComponents
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user