public class BlockBehaviorDragonEgg extends BlockBehaviorFallable
| Constructor and Description |
|---|
BlockBehaviorDragonEgg() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeActivated(Block block) |
boolean |
canWaterlogSource() |
BlockColor |
getColor(Block block) |
float |
getHardness() |
int |
getLightLevel(Block block) |
float |
getResistance() |
boolean |
isTransparent() |
boolean |
onActivate(Block block,
Item item,
Player player) |
int |
onUpdate(Block block,
int type) |
void |
teleport(Block block) |
isSolidaddVelocityToEntity, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getSaveId, getStrongPower, getToolType, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, onActivate, onBreak, onBreak, onEntityCollide, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItempublic float getHardness()
getHardness in class BlockBehaviorpublic float getResistance()
getResistance in class BlockBehaviorpublic int getLightLevel(Block block)
getLightLevel in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorSolidpublic boolean isTransparent()
isTransparent in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorFallablepublic void teleport(Block block)
public boolean canBeActivated(Block block)
canBeActivated in class BlockBehaviorpublic boolean onActivate(Block block, Item item, Player player)
onActivate in class BlockBehaviorpublic boolean canWaterlogSource()
canWaterlogSource in class BlockBehaviorCopyright © 2020. All rights reserved.