net.minecraft.world.level.block

public class BeehiveBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dkg
net.minecraft.world.level.block.BeehiveBlock
net.minecraft.class_4481
net.minecraft.block.BeehiveBlock
net.minecraft.world.level.block.BlockBeehive

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BeehiveBlock>
a
CODEC
field_46274
CODEC
public static final EnumProperty<Direction>
b
FACING
field_20419
FACING
public static final IntegerProperty
c
HONEY_LEVEL
field_20420
HONEY_LEVEL
public static final int
d
MAX_HONEY_LEVELS
field_31011
FULL_HONEY_LEVEL
private static final int
e
SHEARED_HONEYCOMB_COUNT
field_31012
DROPPED_HONEYCOMB_COUNT

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BeehiveBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
c_(dxv arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
a(dxv arg0, dhi arg1, jh arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
public void
a(dhi arg0, cpx arg1, jh arg2, dxv arg3, dux arg4, cxp arg5)
playerDestroy(Level arg0, Player arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
method_9556(class_1937 arg0, class_1657 arg1, class_2338 arg2, class_2680 arg3, class_2586 arg4, class_1799 arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack arg5)
protected void
a(dxv arg0, ash arg1, jh arg2, dha arg3, BiConsumer<cxp, jh> arg4)
onExplosionHit(BlockState arg0, ServerLevel arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
method_55124(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1927 arg3, BiConsumer<class_1799, class_2338> arg4)
onExploded(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
private void
b(dhi arg0, jh arg1)
angerNearbyBees(Level arg0, BlockPos arg1)
method_23893(class_1937 arg0, class_2338 arg1)
angerNearbyBees(World world, BlockPos pos)
public static void
a(dhi arg0, jh arg1)
dropHoneycomb(Level arg0, BlockPos arg1)
method_21842(class_1937 arg0, class_2338 arg1)
dropHoneycomb(World world, BlockPos pos)
protected InteractionResult
a(cxp arg0, dxv arg1, dhi arg2, jh arg3, cpx arg4, bti arg5, fbu arg6)
useItemOn(ItemStack arg0, BlockState arg1, Level arg2, BlockPos arg3, Player arg4, InteractionHand arg5, BlockHitResult arg6)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
private boolean
c(dhi arg0, jh arg1)
hiveContainsBees(Level arg0, BlockPos arg1)
method_23894(class_1937 arg0, class_2338 arg1)
hasBees(World world, BlockPos pos)
public void
a(dhi arg0, dxv arg1, jh arg2, cpx arg3, duu$b arg4)
releaseBeesAndResetHoneyLevel(Level arg0, BlockState arg1, BlockPos arg2, Player arg3, BeehiveBlockEntity$BeeReleaseStatus arg4)
method_21841(class_1937 arg0, class_2680 arg1, class_2338 arg2, class_1657 arg3, class_4482$class_4484 arg4)
takeHoney(World world, BlockState state, BlockPos pos, PlayerEntity player, BeehiveBlockEntity$BeeState beeState)
public void
a(dhi arg0, dxv arg1, jh arg2)
resetHoneyLevel(Level arg0, BlockState arg1, BlockPos arg2)
method_23754(class_1937 arg0, class_2680 arg1, class_2338 arg2)
takeHoney(World world, BlockState state, BlockPos pos)
public void
a(dxv arg0, dhi arg1, jh arg2, bam arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
private void
a(dhi arg0, jh arg1, dxv arg2)
trySpawnDripParticles(Level arg0, BlockPos arg1, BlockState arg2)
method_21843(class_1937 arg0, class_2338 arg1, class_2680 arg2)
spawnHoneyParticles(World world, BlockPos pos, BlockState state)
private void
a(dhi arg0, jh arg1, fcs arg2, double arg3)
spawnParticle(Level arg0, BlockPos arg1, VoxelShape arg2, double arg3)
method_21844(class_1937 arg0, class_2338 arg1, class_265 arg2, double arg3)
addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height)
private void
a(dhi arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
spawnFluidParticle(Level arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
method_21840(class_1937 arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
addHoneyParticle(World world, double minX, double maxX, double minZ, double maxZ, double height)
public BlockState
a(dbg arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected void
a(dxw$a<dkm, dxv> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected RenderShape
a_(dxv arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
public BlockEntity
a(jh arg0, dxv arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dhi arg0, dxv arg1, duz<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
public BlockState
a(dhi arg0, jh arg1, dxv arg2, cpx arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
protected List<ItemStack>
a(dxv arg0, ews$a arg1)
getDrops(BlockState arg0, LootParams$Builder arg1)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
getDroppedStacks(BlockState arg0, LootWorldContext$Builder arg1)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
public BlockState
a(dxv arg0, drc arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
public BlockState
a(dxv arg0, dpl arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
public void
a(cxp arg0, cxl$b arg1, List<xv> arg2, czh arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_9568(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)