public class DiamondOreBlockBehavior extends SimpleBlockBehavior
BlockBehavior.Result| Modifier and Type | Field and Description |
|---|---|
static DiamondOreBlockBehavior |
INSTANCE |
| Constructor and Description |
|---|
DiamondOreBlockBehavior() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ItemInstance> |
getDrops(Player player,
Block block,
ItemInstance item) |
boolean |
isCorrectTool(ItemInstance item) |
onBreak, onPlaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoundingBox, getBreakTime, getMiningEfficiency, onEntityCollision, onNeighboringBlockChange, onUpdate, overridePlacementpublic static final DiamondOreBlockBehavior INSTANCE
public Collection<ItemInstance> getDrops(Player player, Block block, @Nullable ItemInstance item)
getDrops in interface BlockBehaviorgetDrops in class SimpleBlockBehaviorpublic boolean isCorrectTool(@Nullable ItemInstance item)
isCorrectTool in interface BlockBehaviorisCorrectTool in class SimpleBlockBehaviorCopyright © 2017–2019 NukkitX. All rights reserved.