net.minecraft.world.level.block

public class BeehiveBlock

extends BaseEntityBlock

All mapped superinterfaces:

ItemLike, EntityBlock

bzi
net.minecraft.world.level.block.BeehiveBlock
net.minecraft.class_4481
net.minecraft.block.BeehiveBlock
net.minecraft.src.C_1701_
net.minecraft.world.level.block.BlockBeehive

Field summary

Modifier and TypeField
private static final Direction[]
d
SPAWN_DIRECTIONS
field_20418
GENERATE_DIRECTIONS
f_49565_
public static final DirectionProperty
a
FACING
field_20419
FACING
f_49563_
public static final IntegerProperty
b
HONEY_LEVEL
field_20420
HONEY_LEVEL
f_49564_
public static final int
c
MAX_HONEY_LEVELS
field_31011
FULL_HONEY_LEVEL
f_152177_
private static final int
e
SHEARED_HONEYCOMB_COUNT
field_31012
DROPPED_HONEYCOMB_COUNT
f_152178_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public boolean
d_(cks arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
isComplexRedstone(IBlockData arg0)
public int
a(cks arg0, bwp arg1, gg 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)
m_6782_(C_2064_ p_49621_, C_1596_ p_49622_, C_4675_ arg2)
public void
a(bwp arg0, bkd arg1, gg arg2, cks arg3, cip arg4, bqp 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)
m_6240_(C_1596_ p_49585_, C_1141_ p_49586_, C_4675_ p_49587_, C_2064_ p_49588_, C_1991_ p_49589_, C_1391_ arg5)
private void
b(bwp arg0, gg arg1)
angerNearbyBees(Level arg0, BlockPos arg1)
method_23893(class_1937 arg0, class_2338 arg1)
angerNearbyBees(World world, BlockPos pos)
m_49649_(C_1596_ p_49651_, C_4675_ arg1)
public static void
a(bwp arg0, gg arg1)
dropHoneycomb(Level arg0, BlockPos arg1)
method_21842(class_1937 arg0, class_2338 arg1)
dropHoneycomb(World world, BlockPos pos)
m_49600_(C_1596_ p_49601_, C_4675_ p_49602_)
public InteractionResult
a(cks arg0, bwp arg1, gg arg2, bkd arg3, arz arg4, dmw arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_49625_, C_1596_ p_49626_, C_4675_ p_49627_, C_1141_ p_49628_, C_470_ p_49629_, C_3041_ arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
private boolean
c(bwp arg0, gg arg1)
hiveContainsBees(Level arg0, BlockPos arg1)
method_23894(class_1937 arg0, class_2338 arg1)
hasBees(World world, BlockPos pos)
m_49654_(C_1596_ p_49656_, C_4675_ arg1)
public void
a(bwp arg0, cks arg1, gg arg2, bkd arg3, cim$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)
m_49594_(C_1596_ p_49596_, C_2064_ p_49597_, C_4675_ p_49598_, C_1141_ p_49599_, C_1985_$C_1988_ arg4)
public void
a(bwp arg0, cks arg1, gg 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)
m_49590_(C_1596_ p_49592_, C_2064_ p_49593_, C_4675_ arg2)
public void
a(cks arg0, bwp arg1, gg arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_49632_, C_1596_ p_49633_, C_4675_ p_49634_, Random arg3)
private void
a(bwp arg0, gg arg1, cks 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)
m_49603_(C_1596_ p_49605_, C_4675_ p_49606_, C_2064_ arg2)
private void
a(bwp arg0, gg arg1, dnt 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)
m_49612_(C_1596_ p_49614_, C_4675_ p_49615_, C_3072_ p_49616_, double arg3)
private void
a(bwp 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)
m_49576_(C_1596_ p_49578_, double p_49579_, double p_49581_, double arg3, double arg4, double arg5)
public BlockState
a(bsp arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
getPlacedState(BlockActionContext arg0)
protected void
a(ckt$a<bzo, cks> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public RenderShape
b_(cks arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public BlockEntity
a(gg arg0, cks arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_152185_, C_2064_ arg1)
createTile(BlockPosition arg0, IBlockData arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(bwp arg0, cks arg1, cir<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)
m_142354_(C_1596_ p_152181_, C_2064_ p_152182_, C_1992_<T> arg2)
public void
a(bwp arg0, gg arg1, cks arg2, bkd 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)
m_5707_(C_1596_ p_49609_, C_4675_ p_49610_, C_2064_ p_49611_, C_1141_ arg3)
public List<ItemStack>
a(cks arg0, dip$a arg1)
getDrops(BlockState arg0, LootContext$Builder arg1)
method_9560(class_2680 arg0, class_47$class_48 arg1)
getDroppedStacks(BlockState arg0, LootContext$Builder arg1)
m_7381_(C_2064_ p_49637_, C_2811_$C_2813_ arg1)
public BlockState
a(cks arg0, gl arg1, cks arg2, bwq arg3, gg arg4, gg arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_49640_, C_4687_ p_49641_, C_2064_ p_49642_, C_1598_ p_49643_, C_4675_ p_49644_, C_4675_ arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public static Direction
a(Random arg0)
getRandomOffset(Random arg0)
method_26978(Random arg0)
getRandomGenerationDirection(Random random)
m_49647_(Random p_49648_)