Buff barbed wire
This commit is contained in:
parent
bcdda97438
commit
cce60f65c6
3 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ public class BarbedWireBlock extends Block {
|
|||
|
||||
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) {
|
||||
if (entity instanceof LivingEntity && entity.getType() != EntityType.FOX && entity.getType() != EntityType.BEE) {
|
||||
entity.slowMovement(state, new Vec3d(0.800000011920929, 0.75, 0.800000011920929));
|
||||
entity.slowMovement(state, new Vec3d(0.200000011920929, 0.25, 0.200000011920929));
|
||||
if (!world.isClient && (entity.lastRenderX != entity.getX() || entity.lastRenderZ != entity.getZ())) {
|
||||
double d = Math.abs(entity.getX() - entity.lastRenderX);
|
||||
double e = Math.abs(entity.getZ() - entity.lastRenderZ);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue