net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable, TickableBlockEntity

All mapped superinterfaces:

Clearable, TickableBlockEntity

btz
net.minecraft.world.level.block.entity.CampfireBlockEntity
net.minecraft.class_3924
net.minecraft.block.entity.CampfireBlockEntity
net.minecraft.tileentity.CampfireTileEntity
net.minecraft.server.v1_14_R1.TileEntityCampfire

Field summary

Modifier and TypeField
private final NonNullList<ItemStack>
a
items
field_17383
itemsBeingCooked
field_213987_a
items
private final int[]
b
cookingProgress
field_17384
cookingTimes
field_213988_b
cookingTimes
private final int[]
c
cookingTime
field_17385
cookingTotalTimes
field_213989_c
cookingTotalTimes

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
T_()
tick()
method_16896()
tick()
func_73660_a()
tick()
private void
h()
cook()
method_17508()
updateItemsBeingCooked()
func_213978_f()
private void
s()
makeParticles()
method_17509()
spawnSmokeParticles()
func_213982_r()
public NonNullList<ItemStack>
d()
getItems()
method_17505()
getItemsBeingCooked()
func_213985_c()
getItems()
public void
a(id arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(id arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
private CompoundTag
d(id arg0)
saveMetadataAndItems(CompoundTag arg0)
method_17507(class_2487 arg0)
saveInitialChunkData(CompoundTag tag)
func_213983_d(CompoundNBT arg0)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_16886()
toUpdatePacket()
func_189518_D_()
getUpdatePacket()
public CompoundTag
b()
getUpdateTag()
method_16887()
toInitialChunkDataTag()
func_189517_E_()
public Optional<CampfireCookingRecipe>
a(bcj arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack item)
func_213980_a(ItemStack arg0)
public boolean
a(bcj arg0, int arg1)
placeFood(ItemStack arg0, int arg1)
method_17503(class_1799 arg0, int arg1)
addItem(ItemStack item, int integer)
func_213984_a(ItemStack arg0, int arg1)
private void
t()
markUpdated()
method_17510()
updateListeners()
func_213981_s()
public void
L_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
f()
dowse()
method_17506()
spawnItemsBeingCooked()
func_213986_d()