mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 09:59:20 +00:00
删除垃圾
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user