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