public class BlockBehaviorDoubleSlab extends BlockBehaviorSolid
| Modifier and Type | Field and Description |
|---|---|
protected Identifier |
slabType |
protected BlockTrait |
typeTrait |
| Constructor and Description |
|---|
BlockBehaviorDoubleSlab(Identifier slabType,
BlockTrait<?> typeTrait) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHarvestWithHand() |
BlockColor |
getColor(Block block) |
Item[] |
getDrops(Block block,
Item hand) |
float |
getHardness() |
float |
getResistance() |
int |
getToolType() |
isSolidaddVelocityToEntity, canBeActivated, canBeBrokenWith, canBeClimbed, canBeFlooded, canBePlaced, canBePushed, canBeReplaced, canPassThrough, canSilkTouch, canWaterlogFlowing, canWaterlogSource, clone, collidesWithBB, collidesWithBB, getBoundingBox, getBreakTime, getBreakTime, getBurnAbility, getBurnChance, getCollisionBoxes, getComparatorInputOverride, getDescriptionId, getDropExp, getFilterLevel, getFrictionFactor, getLightLevel, getSaveId, getStrongPower, getWeakPower, hasComparatorInputOverride, hasEntityCollision, isBreakable, isLiquid, isNormalBlock, isPowerSource, isTransparent, onActivate, onActivate, onBreak, onBreak, onEntityCollide, onUpdate, place, placeBlock, placeBlock, placeBlock, placeBlock, removeBlock, removeBlock, tickRate, toItemprotected Identifier slabType
protected BlockTrait typeTrait
public BlockBehaviorDoubleSlab(Identifier slabType, BlockTrait<?> typeTrait)
public float getResistance()
getResistance in class BlockBehaviorpublic float getHardness()
getHardness in class BlockBehaviorpublic int getToolType()
getToolType in class BlockBehaviorpublic boolean canHarvestWithHand()
canHarvestWithHand in class BlockBehaviorpublic Item[] getDrops(Block block, Item hand)
getDrops in class BlockBehaviorpublic BlockColor getColor(Block block)
getColor in class BlockBehaviorSolidCopyright © 2020. All rights reserved.