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