#1169: Add damage methods to FallingBlock
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -9,6 +9,17 @@
|
||||
public class EntityFallingBlock extends Entity {
|
||||
|
||||
private static final Logger LOGGER = LogUtils.getLogger();
|
||||
@@ -57,8 +59,8 @@
|
||||
public boolean dropItem;
|
||||
private boolean cancelDrop;
|
||||
public boolean hurtEntities;
|
||||
- private int fallDamageMax;
|
||||
- private float fallDamagePerDistance;
|
||||
+ public int fallDamageMax;
|
||||
+ public float fallDamagePerDistance;
|
||||
@Nullable
|
||||
public NBTTagCompound blockData;
|
||||
protected static final DataWatcherObject<BlockPosition> DATA_START_POS = DataWatcher.defineId(EntityFallingBlock.class, DataWatcherRegistry.BLOCK_POS);
|
||||
@@ -83,10 +85,17 @@
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user