diff options
Diffstat (limited to 'patches/server/0744-Expand-FallingBlock-API.patch')
-rw-r--r-- | patches/server/0744-Expand-FallingBlock-API.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/patches/server/0744-Expand-FallingBlock-API.patch b/patches/server/0744-Expand-FallingBlock-API.patch index b70e252822..d0d49233fa 100644 --- a/patches/server/0744-Expand-FallingBlock-API.patch +++ b/patches/server/0744-Expand-FallingBlock-API.patch @@ -13,10 +13,10 @@ public net.minecraft.world.entity.item.FallingBlockEntity blockState Co-authored-by: Lukas Planz <[email protected]> diff --git a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java -index 67875e854d66b62c36fcca455f02f5abf3ebfdb3..05b77bf1af82397c542fde19b54ee545448ce12e 100644 +index 33cc2d1a4723ec07c4201eb6e0080d5e0281e1f0..0aef6a8d51cb1351daaea16022f5cbb27ceaff0d 100644 --- a/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java +++ b/src/main/java/net/minecraft/world/entity/item/FallingBlockEntity.java -@@ -66,6 +66,7 @@ public class FallingBlockEntity extends Entity { +@@ -67,6 +67,7 @@ public class FallingBlockEntity extends Entity { @Nullable public CompoundTag blockData; protected static final EntityDataAccessor<BlockPos> DATA_START_POS = SynchedEntityData.defineId(FallingBlockEntity.class, EntityDataSerializers.BLOCK_POS); @@ -24,7 +24,7 @@ index 67875e854d66b62c36fcca455f02f5abf3ebfdb3..05b77bf1af82397c542fde19b54ee545 public FallingBlockEntity(EntityType<? extends FallingBlockEntity> type, Level world) { super(type, world); -@@ -178,7 +179,7 @@ public class FallingBlockEntity extends Entity { +@@ -179,7 +180,7 @@ public class FallingBlockEntity extends Entity { } if (!this.onGround() && !flag1) { @@ -33,7 +33,7 @@ index 67875e854d66b62c36fcca455f02f5abf3ebfdb3..05b77bf1af82397c542fde19b54ee545 if (this.dropItem && this.level().getGameRules().getBoolean(GameRules.RULE_DOENTITYDROPS)) { this.spawnAtLocation((ItemLike) block); } -@@ -324,6 +325,7 @@ public class FallingBlockEntity extends Entity { +@@ -325,6 +326,7 @@ public class FallingBlockEntity extends Entity { } nbt.putBoolean("CancelDrop", this.cancelDrop); @@ -41,7 +41,7 @@ index 67875e854d66b62c36fcca455f02f5abf3ebfdb3..05b77bf1af82397c542fde19b54ee545 } @Override -@@ -351,6 +353,11 @@ public class FallingBlockEntity extends Entity { +@@ -352,6 +354,11 @@ public class FallingBlockEntity extends Entity { this.blockState = Blocks.SAND.defaultBlockState(); } |