net.minecraft.world.level.block.entity

public class BrushableBlockEntity

extends BlockEntity

dql
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 ResourceKey<LootTable>
q
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, cmx arg1, ji 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(cmx arg0)
unpackLootTable(Player arg0)
method_49217(class_1657 arg0)
generateItem(PlayerEntity player)
m_276797_(C_1141_ arg0)
private void
b(cmx arg0)
brushingCompleted(Player arg0)
method_49218(class_1657 arg0)
finishBrushing(PlayerEntity player)
m_276980_(C_1141_ arg0)
private void
c(cmx arg0)
dropContent(Player arg0)
method_49220(class_1657 arg0)
spawnItem(PlayerEntity player)
m_276934_(C_1141_ arg0)
public void
b()
checkReset()
method_49219()
scheduledTick()
m_277175_()
private boolean
c(ub arg0)
tryLoadLootTable(CompoundTag arg0)
method_49222(class_2487 arg0)
readLootTableFromNbt(NbtCompound nbt)
m_276996_(C_4917_ arg0)
private boolean
d(ub arg0)
trySaveLootTable(CompoundTag arg0)
method_49223(class_2487 arg0)
writeLootTableToNbt(NbtCompound nbt)
m_277014_(C_4917_ arg0)
public CompoundTag
a(jo$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
m_5995_(C_213466_$C_254607_ arg0)
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_49221()
toUpdatePacket()
m_58483_()
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_334199_, C_213466_$C_254607_ arg1)
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_329463_, C_213466_$C_254607_ arg1)
public void
a(akq<erw> arg0, long arg1)
setLootTable(ResourceKey<LootTable> arg0, long arg1)
method_49216(class_5321<class_52> arg0, long arg1)
setLootTable(RegistryKey<LootTable> lootTable, long seed)
m_277049_(C_5264_<C_2822_> p_277991_, long arg1)
private int
j()
getCompletionState()
method_49226()
getDustedLevel()
m_276942_()
public Direction
d()
getHitDirection()
method_49224()
getHitDirection()
m_277042_()
public ItemStack
f()
getItem()
method_49225()
getItem()
m_277047_()