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:
@@ -50,7 +50,7 @@ public class CustomBlockBreakEvent extends PlayerEvent implements Cancellable {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public CustomBlock block() {
|
||||
public CustomBlock customBlock() {
|
||||
return this.customBlock;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user