public class NukkitFurnaceBlockEntity extends NukkitNameableBlockEntity implements FurnaceBlockEntity
| Modifier and Type | Field and Description |
|---|---|
int |
burnTime |
int |
cookTime |
int |
maxBurnTime |
| Constructor and Description |
|---|
NukkitFurnaceBlockEntity() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBurnDuration(ItemStack item) |
Inventory |
getContainer() |
ItemStack |
getResult(ItemStack ingredient) |
boolean |
isFuel(ItemStack item) |
boolean |
isIngredient(ItemStack item) |
getCustomName, getLockgetLevelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBurnTime, getCookTimegetCustomName, getLock, setCustomName, setLockgetLevelpublic int cookTime
public int burnTime
public int maxBurnTime
public boolean isFuel(@Nullable ItemStack item)
isFuel in interface FurnaceBlockEntitypublic int getBurnDuration(@Nullable ItemStack item)
getBurnDuration in interface FurnaceBlockEntitypublic boolean isIngredient(@Nullable ItemStack item)
isIngredient in interface FurnaceBlockEntitypublic Inventory getContainer()
getContainer in interface ContainerHoldergetContainer in interface FurnaceBlockEntityCopyright © 2017–2020 NukkitX. All rights reserved.