net.minecraft.world.level.block.entity

public class BrushableBlockEntity

extends BlockEntity

dgz
net.minecraft.world.level.block.entity.BrushableBlockEntity
net.minecraft.class_8174
net.minecraft.block.entity.BrushableBlockEntity
net.minecraft.src.C_276404_
net.minecraft.world.level.block.entity.BrushableBlockEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_42801
LOGGER
f_276497_
private static final String
b
LOOT_TABLE_TAG
field_42802
LOOT_TABLE_NBT_KEY
f_276647_
private static final String
c
LOOT_TABLE_SEED_TAG
field_42803
LOOT_TABLE_SEED_NBT_KEY
f_276481_
private static final String
d
HIT_DIRECTION_TAG
field_42804
HIT_DIRECTION_NBT_KEY
f_276606_
private static final String
e
ITEM_TAG
field_42805
ITEM_NBT_KEY
f_276577_
private static final int
f
BRUSH_COOLDOWN_TICKS
field_42806
field_42806
f_276551_
private static final int
g
BRUSH_RESET_TICKS
field_42807
field_42807
f_276499_
private static final int
h
REQUIRED_BRUSHES_TO_BREAK
field_42808
field_42808
f_276583_
private int
i
brushCount
field_42809
brushesCount
f_276531_
private long
j
brushCountResetsAtTick
field_42810
nextDustTime
f_276679_
private long
k
coolDownEndsAtTick
field_42811
nextBrushTime
f_276557_
private ItemStack
l
item
field_42812
item
f_276563_
private Direction
m
hitDirection
field_42813
hitDirection
f_276638_
private ResourceLocation
n
lootTable
field_42814
lootTable
f_276466_
private long
r
lootTableSeed
field_42815
lootTableSeed
f_276487_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public boolean
a(long arg0, cfi arg1, ic arg2)
brush(long arg0, Player arg1, Direction arg2)
method_49215(long arg0, class_1657 arg1, class_2350 arg2)
brush(long worldTime, PlayerEntity player, Direction hitDirection)
m_276923_(long p_277520_, C_1141_ arg1, C_4687_ arg2)
public void
a(cfi arg0)
unpackLootTable(Player arg0)
method_49217(class_1657 arg0)
generateItem(PlayerEntity player)
m_276797_(C_1141_ arg0)
private void
b(cfi arg0)
brushingCompleted(Player arg0)
method_49218(class_1657 arg0)
finishBrushing(PlayerEntity player)
m_276980_(C_1141_ arg0)
private void
c(cfi arg0)
dropContent(Player arg0)
method_49220(class_1657 arg0)
spawnItem(PlayerEntity player)
m_276934_(C_1141_ arg0)
public void
c()
checkReset()
method_49219()
scheduledTick()
m_277175_()
private boolean
d(sn arg0)
tryLoadLootTable(CompoundTag arg0)
method_49222(class_2487 arg0)
readLootTableFromNbt(NbtCompound nbt)
m_276996_(C_4917_ arg0)
private boolean
e(sn arg0)
trySaveLootTable(CompoundTag arg0)
method_49223(class_2487 arg0)
writeLootTableToNbt(NbtCompound nbt)
m_277014_(C_4917_ arg0)
public CompoundTag
ax_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public ClientboundBlockEntityDataPacket
d()
getUpdatePacket()
method_49221()
toUpdatePacket()
m_58483_()
public void
a(sn arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
protected void
b(sn arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(ahg arg0, long arg1)
setLootTable(ResourceLocation arg0, long arg1)
method_49216(class_2960 arg0, long arg1)
setLootTable(Identifier lootTable, long seed)
m_277049_(C_5265_ p_277991_, long arg1)
private int
k()
getCompletionState()
method_49226()
getDustedLevel()
m_276942_()
public Direction
f()
getHitDirection()
method_49224()
getHitDirection()
m_277042_()
public ItemStack
g()
getItem()
method_49225()
getItem()
m_277047_()