9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 09:59:20 +00:00

删除垃圾

This commit is contained in:
XiaoMoMi
2025-09-06 02:57:17 +08:00
parent 4babe7e407
commit 4415acecdd
3 changed files with 2 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ public class BlockItemBehavior extends BlockBoundItemBehavior {
ImmutableBlockState blockStateToPlace = getPlacementState(context, block);
if (blockStateToPlace == null) {
return InteractionResult.FAIL;
return InteractionResult.PASS;
}
BlockPos againstPos = context.getAgainstPos();

View File

@@ -1,17 +0,0 @@
package net.momirealms.craftengine.core.block;
import net.momirealms.sparrow.nbt.CompoundTag;
import org.jetbrains.annotations.ApiStatus;
@ApiStatus.Experimental
public class BlockEntityState {
private final CompoundTag nbt;
public BlockEntityState(CompoundTag nbt) {
this.nbt = nbt.deepClone();
}
public CompoundTag nbt() {
return this.nbt;
}
}

View File

@@ -48,7 +48,7 @@ datafixerupper_version=8.0.16
mojang_brigadier_version=1.0.18
byte_buddy_version=1.17.5
ahocorasick_version=0.6.3
snake_yaml_version=2.4
snake_yaml_version=2.5
anti_grief_version=0.20
nms_helper_version=1.0.75
evalex_version=3.5.0