net.minecraft.world.level.block.entity

public class BrushableBlockEntity

extends BlockEntity

dvb
net.minecraft.world.level.block.entity.BrushableBlockEntity
net.minecraft.class_8174
net.minecraft.unmapped.C_tlzeicbt
net.minecraft.block.entity.BrushableBlockEntity
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
f_ukyicdib
LOGGER
LOGGER
f_276497_
private static final String
b
LOOT_TABLE_TAG
field_42802
f_szfxcjrq
LOOT_TABLE_NBT_KEY
LOOT_TABLE_KEY
f_276647_
private static final String
c
LOOT_TABLE_SEED_TAG
field_42803
f_nwpspgxy
LOOT_TABLE_SEED_NBT_KEY
LOOT_TABLE_SEED_KEY
f_276481_
private static final String
d
HIT_DIRECTION_TAG
field_42804
f_isncmyto
HIT_DIRECTION_NBT_KEY
HIT_DIRECTION_KEY
f_276606_
private static final String
e
ITEM_TAG
field_42805
f_cgztulnx
ITEM_NBT_KEY
ITEM_KEY
f_276577_
private static final int
f
BRUSH_COOLDOWN_TICKS
field_42806
f_msagepof
field_42806
BRUSH_COOLDOWN_TICKS
f_276551_
private static final int
g
BRUSH_RESET_TICKS
field_42807
f_ebafgrmk
field_42807
BRUSH_RESET_TICKS
f_276499_
private static final int
h
REQUIRED_BRUSHES_TO_BREAK
field_42808
f_ekhomrmu
field_42808
REQUIRED_BRUSHES_TO_BREAK
f_276583_
private int
i
brushCount
field_42809
f_bywwwfra
brushesCount
brushCount
f_276531_
private long
j
brushCountResetsAtTick
field_42810
f_dzeotbvt
nextDustTime
brushCountResetTick
f_276679_
private long
k
coolDownEndsAtTick
field_42811
f_ujqpfzjx
nextBrushTime
cooldownEndTick
f_276557_
private ItemStack
l
item
field_42812
f_qymvehql
item
buriedStack
f_276563_
private Direction
m
hitDirection
field_42813
f_wltskfrl
hitDirection
hitDirection
f_276638_
private ResourceKey<LootTable>
n
lootTable
field_42814
f_xskjyxrz
lootTable
lootTable
f_276466_
private long
r
lootTableSeed
field_42815
f_dkmrtmhi
lootTableSeed
lootTableSeed
f_276487_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public boolean
a(long arg0, ash arg1, cpx arg2, jm arg3, cxp arg4)
brush(long arg0, ServerLevel arg1, Player arg2, Direction arg3, ItemStack arg4)
method_49215(long arg0, class_3218 arg1, class_1657 arg2, class_2350 arg3, class_1799 arg4)
m_xibosnri(long arg0, C_bdwnwhiu arg1, C_jzrpycqo arg2, C_xpuuihxf arg3, C_sddaxwyk arg4)
brush(long worldTime, ServerWorld world, PlayerEntity player, Direction hitDirection, ItemStack brush)
brush(long ticks, ServerWorld world, PlayerEntity player, Direction direction, ItemStack stack)
m_276923_(long p_368993_, C_12_ p_277424_, C_1141_ p_363346_, C_4687_ arg3, C_1391_ arg4)
private void
a(ash arg0, cpx arg1, cxp arg2)
unpackLootTable(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49217(class_3218 arg0, class_1657 arg1, class_1799 arg2)
m_kfybgynf(C_bdwnwhiu arg0, C_jzrpycqo arg1, C_sddaxwyk arg2)
generateItem(ServerWorld world, PlayerEntity player, ItemStack brush)
checkLootInteraction(ServerWorld world, PlayerEntity player, ItemStack stack)
m_276797_(C_12_ p_277940_, C_1141_ p_365744_, C_1391_ arg2)
private void
b(ash arg0, cpx arg1, cxp arg2)
brushingCompleted(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49218(class_3218 arg0, class_1657 arg1, class_1799 arg2)
m_rdawolkr(C_bdwnwhiu arg0, C_jzrpycqo arg1, C_sddaxwyk arg2)
finishBrushing(ServerWorld world, PlayerEntity player, ItemStack brush)
completeBrushing(ServerWorld world, PlayerEntity player, ItemStack stack)
m_276980_(C_12_ p_277549_, C_1141_ p_364625_, C_1391_ arg2)
private void
c(ash arg0, cpx arg1, cxp arg2)
dropContent(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49220(class_3218 arg0, class_1657 arg1, class_1799 arg2)
m_bdpdffbi(C_bdwnwhiu arg0, C_jzrpycqo arg1, C_sddaxwyk arg2)
spawnItem(ServerWorld world, PlayerEntity player, ItemStack brush)
dropContent(ServerWorld world, PlayerEntity player, ItemStack stack)
m_276934_(C_12_ p_278006_, C_1141_ p_369575_, C_1391_ arg2)
public void
a(ash arg0)
checkReset(ServerLevel arg0)
method_49219(class_3218 arg0)
m_hwiincya(C_bdwnwhiu arg0)
scheduledTick(ServerWorld world)
tickBrushCountReset(ServerWorld world)
m_277175_(C_12_ arg0)
private boolean
c(ux arg0)
tryLoadLootTable(CompoundTag arg0)
method_49222(class_2487 arg0)
m_edqnpwap(C_hhlwcnih arg0)
readLootTableFromNbt(NbtCompound nbt)
deserializeLootTable(NbtCompound nbt)
m_276996_(C_4917_ arg0)
private boolean
d(ux arg0)
trySaveLootTable(CompoundTag arg0)
method_49223(class_2487 arg0)
m_ozsgysbr(C_hhlwcnih arg0)
writeLootTableToNbt(NbtCompound nbt)
serializeLootTable(NbtCompound nbt)
m_277014_(C_4917_ arg0)
public CompoundTag
a(js$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
toSyncedNbt(HolderLookup$Provider arg0)
m_5995_(C_213466_$C_254607_ arg0)
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_49221()
m_zwmnfiev()
toUpdatePacket()
toUpdatePacket()
m_58483_()
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_334199_, C_213466_$C_254607_ arg1)
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_329463_, C_213466_$C_254607_ arg1)
public void
a(aly<ewu> arg0, long arg1)
setLootTable(ResourceKey<LootTable> arg0, long arg1)
method_49216(class_5321<class_52> arg0, long arg1)
m_llghgzmo(C_xhhleach<C_inwsuliy> arg0, long arg1)
setLootTable(RegistryKey<LootTable> lootTable, long seed)
setLootTable(RegistryKey<LootTable> lootTable, long lootTableSeed)
m_277049_(C_5264_<C_2822_> p_277991_, long arg1)
private int
f()
getCompletionState()
method_49226()
m_ghrzoxmo()
getDustedLevel()
getCompletionStage()
m_276942_()
public Direction
c()
getHitDirection()
method_49224()
m_otxeysvo()
getHitDirection()
getHitDirection()
m_277042_()
public ItemStack
d()
getItem()
method_49225()
m_ayzejxpo()
getItem()
getBuriedStack()
m_277047_()