net.minecraft.world.level.block.entity

public class CampfireBlockEntity

extends BlockEntity implements Clearable, TickableBlockEntity

All mapped superinterfaces:

Clearable, TickableBlockEntity

cdo
net.minecraft.world.level.block.entity.CampfireBlockEntity
net.minecraft.class_3924
net.minecraft.block.entity.CampfireBlockEntity
net.minecraft.tileentity.CampfireTileEntity
net.minecraft.server.v1_16_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
al_()
tick()
method_16896()
tick()
func_73660_a()
tick()
private void
h()
cook()
method_17508()
updateItemsBeingCooked()
func_213978_f()
private void
j()
makeParticles()
method_17509()
spawnSmokeParticles()
func_213982_r()
public NonNullList<ItemStack>
d()
getItems()
method_17505()
getItemsBeingCooked()
func_213985_c()
getItems()
public void
a(cfj arg0, le arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(le arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
private CompoundTag
b(le 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(bki arg0)
getCookableRecipe(ItemStack arg0)
method_17502(class_1799 arg0)
getRecipeFor(ItemStack item)
func_213980_a(ItemStack arg0)
public boolean
a(bki 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
k()
markUpdated()
method_17510()
updateListeners()
func_213981_s()
public void
aa_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
public void
f()
dowse()
method_17506()
spawnItemsBeingCooked()
func_213986_d()