Add BlockBrewingStand and BlockEnchantmentTable to flying entity collisions patch
Dieser Commit ist enthalten in:
Ursprung
afde4c2f8b
Commit
505386c5cb
@ -15,7 +15,7 @@ index d2cb1f1..7660356 100644
|
||||
- block.getBlock().a(this, blockposition, block, axisalignedbb, arraylist, entity);
|
||||
+ // PaperSpigot start - FallingBlocks and TNT collide with specific non-collidable blocks
|
||||
+ Block b = block.getBlock();
|
||||
+ if (entity.world.paperSpigotConfig.fallingBlocksCollideWithSigns && (entity instanceof EntityTNTPrimed || entity instanceof EntityFallingBlock) && (b instanceof BlockSign || b instanceof BlockFenceGate || b instanceof BlockTorch || b instanceof BlockButtonAbstract || b instanceof BlockLever || b instanceof BlockTripwireHook || b instanceof BlockTripwire || b instanceof BlockChest || b instanceof BlockSlowSand || b instanceof BlockBed || b instanceof BlockEnderChest)) {
|
||||
+ if (entity.world.paperSpigotConfig.fallingBlocksCollideWithSigns && (entity instanceof EntityTNTPrimed || entity instanceof EntityFallingBlock) && (b instanceof BlockSign || b instanceof BlockFenceGate || b instanceof BlockTorch || b instanceof BlockButtonAbstract || b instanceof BlockLever || b instanceof BlockTripwireHook || b instanceof BlockTripwire || b instanceof BlockChest || b instanceof BlockSlowSand || b instanceof BlockBed || b instanceof BlockEnderChest || b instanceof BlockEnchantmentTable || b instanceof BlockBrewingStand)) {
|
||||
+ AxisAlignedBB aabb = AxisAlignedBB.a(x, y, z, x + 1.0, y + 1.0, z + 1.0);
|
||||
+ if (axisalignedbb.b(aabb)) arraylist.add(aabb);
|
||||
+ } else {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren