9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-30 04:19:27 +00:00

Improve API

This commit is contained in:
XiaoMoMi
2025-02-17 01:12:52 +08:00
parent ee0f702748
commit e5e88bbe2f
3 changed files with 2 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ public class CustomBlockBreakEvent extends PlayerEvent implements Cancellable {
}
@NotNull
public CustomBlock block() {
public CustomBlock customBlock() {
return this.customBlock;
}

View File

@@ -596,11 +596,6 @@ public class PacketConsumers {
}
};
private static @NotNull InteractionHand getInteractionHand(Object action) {
return hand;
}
public static final TriConsumer<NetWorkUser, NMSPacketEvent, Object> SOUND = (user, event, packet) -> {
try {
Object sound = Reflections.field$ClientboundSoundPacket$sound.get(packet);

View File

@@ -1,6 +1,6 @@
# Project settings
# Rule: [major update].[feature update].[bug fix]
project_version=0.0.15
project_version=0.0.16
config_version=1
project_group=net.momirealms
legacy_model_templates_version=1.21.3