public class BlockBehaviorFarmland extends BlockBehaviorTransparent
| Constructor and Description |
|---|
BlockBehaviorFarmland() |
| Modifier and Type | Method and Description |
|---|---|
BlockColor |
getColor(Block block) |
float |
getHardness() |
float |
getResistance() |
int |
getToolType() |
int |
onUpdate(Block block,
int type) |
Item |
toItem(Block block) |
isTransparentaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canHarvestWithHand, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getDrops, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isSolid, onActivate, onActivate, onBreak, onBreak, onEntityCollide, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRatepublic float getResistance()
getResistance in class BlockBehaviorpublic float getHardness()
getHardness in class BlockBehaviorpublic int getToolType()
getToolType in class BlockBehaviorpublic int onUpdate(Block block, int type)
onUpdate in class BlockBehaviorpublic Item toItem(Block block)
toItem in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorTransparentCopyright © 2020. All rights reserved.