net.minecraft.world.level.block.entity

public class BrushableBlockEntity

extends BlockEntity

due
net.minecraft.world.level.block.entity.BrushableBlockEntity
net.minecraft.class_8174
net.minecraft.block.entity.BrushableBlockEntity
net.minecraft.world.level.block.entity.BrushableBlockEntity

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_42801
LOGGER
private static final String
b
LOOT_TABLE_TAG
field_42802
LOOT_TABLE_NBT_KEY
private static final String
c
LOOT_TABLE_SEED_TAG
field_42803
LOOT_TABLE_SEED_NBT_KEY
private static final String
d
HIT_DIRECTION_TAG
field_42804
HIT_DIRECTION_NBT_KEY
private static final String
e
ITEM_TAG
field_42805
ITEM_NBT_KEY
private static final int
f
BRUSH_COOLDOWN_TICKS
field_42806
field_42806
private static final int
g
BRUSH_RESET_TICKS
field_42807
field_42807
private static final int
h
REQUIRED_BRUSHES_TO_BREAK
field_42808
field_42808
private int
i
brushCount
field_42809
brushesCount
private long
j
brushCountResetsAtTick
field_42810
nextDustTime
private long
k
coolDownEndsAtTick
field_42811
nextBrushTime
private ItemStack
l
item
field_42812
item
private Direction
m
hitDirection
field_42813
hitDirection
private ResourceKey<LootTable>
q
lootTable
field_42814
lootTable
private long
r
lootTableSeed
field_42815
lootTableSeed

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
public boolean
a(long arg0, ard arg1, coy arg2, jn arg3, cwq 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)
brush(long worldTime, ServerWorld world, PlayerEntity player, Direction hitDirection, ItemStack brush)
private void
a(ard arg0, coy arg1, cwq arg2)
unpackLootTable(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49217(class_3218 arg0, class_1657 arg1, class_1799 arg2)
generateItem(ServerWorld world, PlayerEntity player, ItemStack brush)
private void
b(ard arg0, coy arg1, cwq arg2)
brushingCompleted(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49218(class_3218 arg0, class_1657 arg1, class_1799 arg2)
finishBrushing(ServerWorld world, PlayerEntity player, ItemStack brush)
private void
c(ard arg0, coy arg1, cwq arg2)
dropContent(ServerLevel arg0, Player arg1, ItemStack arg2)
method_49220(class_3218 arg0, class_1657 arg1, class_1799 arg2)
spawnItem(ServerWorld world, PlayerEntity player, ItemStack brush)
public void
a(ard arg0)
checkReset(ServerLevel arg0)
method_49219(class_3218 arg0)
scheduledTick(ServerWorld world)
private boolean
c(tq arg0)
tryLoadLootTable(CompoundTag arg0)
method_49222(class_2487 arg0)
readLootTableFromNbt(NbtCompound nbt)
private boolean
d(tq arg0)
trySaveLootTable(CompoundTag arg0)
method_49223(class_2487 arg0)
writeLootTableToNbt(NbtCompound nbt)
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_49221()
toUpdatePacket()
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public void
a(aku<evx> arg0, long arg1)
setLootTable(ResourceKey<LootTable> arg0, long arg1)
method_49216(class_5321<class_52> arg0, long arg1)
setLootTable(RegistryKey<LootTable> lootTable, long seed)
private int
f()
getCompletionState()
method_49226()
getDustedLevel()
public Direction
c()
getHitDirection()
method_49224()
getHitDirection()
public ItemStack
d()
getItem()
method_49225()
getItem()