net.minecraft.world.level.block

public class BeehiveBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

djh
net.minecraft.world.level.block.BeehiveBlock
net.minecraft.class_4481
net.minecraft.unmapped.C_hzjprknd
net.minecraft.block.BeehiveBlock
net.minecraft.block.BeehiveBlock
net.minecraft.src.C_1701_
net.minecraft.world.level.block.BlockBeehive

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BeehiveBlock>
a
CODEC
field_46274
f_sxgotsrf
CODEC
CODEC
f_303500_
public static final EnumProperty<Direction>
b
FACING
field_20419
f_rbssvvff
FACING
FACING
f_49563_
public static final IntegerProperty
c
HONEY_LEVEL
field_20420
f_kdvvaqkr
HONEY_LEVEL
HONEY_LEVEL
f_49564_
public static final int
d
MAX_HONEY_LEVELS
field_31011
f_aquufvvz
FULL_HONEY_LEVEL
FULL_HONEY_LEVEL
f_152177_
private static final int
e
SHEARED_HONEYCOMB_COUNT
field_31012
f_taupaezd
DROPPED_HONEYCOMB_COUNT
DROPPED_HONEYCOMB_COUNT
f_152178_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<BeehiveBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected boolean
c_(dwy arg0)
hasAnalogOutputSignal(BlockState arg0)
method_9498(class_2680 arg0)
m_upxjoscw(C_txtbiemp arg0)
hasComparatorOutput(BlockState arg0)
hasComparatorOutput(BlockState arg0)
m_7278_(C_2064_ arg0)
protected int
a(dwy arg0, dgj arg1, ji arg2)
getAnalogOutputSignal(BlockState arg0, Level arg1, BlockPos arg2)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_wtutwlcg(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2)
m_6782_(C_2064_ p_49621_, C_1596_ p_49622_, C_4675_ arg2)
public void
a(dgj arg0, coy arg1, ji arg2, dwy arg3, dua arg4, cwq 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)
m_mtdctgjh(C_cdctfzbn arg0, C_jzrpycqo arg1, C_hynzadkk arg2, C_txtbiemp arg3, C_kvegafmh arg4, C_sddaxwyk arg5)
afterBreak(World arg0, PlayerEntity arg1, BlockPos arg2, BlockState arg3, BlockEntity arg4, ItemStack 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)
protected void
a(dwy arg0, ard arg1, ji arg2, dgb arg3, BiConsumer<cwq, ji> 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)
m_qjdjbqgu(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_aahhrzpf arg3, BiConsumer<C_sddaxwyk, C_hynzadkk> arg4)
onExploded(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
onExplosion(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
m_304760_(C_2064_ p_361160_, C_12_ p_363432_, C_4675_ p_364892_, C_1578_ p_361789_, BiConsumer<C_1391_, C_4675_> arg4)
private void
b(dgj arg0, ji arg1)
angerNearbyBees(Level arg0, BlockPos arg1)
method_23893(class_1937 arg0, class_2338 arg1)
m_viegjbxx(C_cdctfzbn arg0, C_hynzadkk arg1)
angerNearbyBees(World world, BlockPos pos)
angerNearbyBees(World world, BlockPos pos)
m_49649_(C_1596_ p_49651_, C_4675_ arg1)
public static void
a(dgj arg0, ji arg1)
dropHoneycomb(Level arg0, BlockPos arg1)
method_21842(class_1937 arg0, class_2338 arg1)
m_lduayhrh(C_cdctfzbn arg0, C_hynzadkk arg1)
dropHoneycomb(World world, BlockPos pos)
dropHoneycomb(World world, BlockPos pos)
m_49600_(C_1596_ p_49601_, C_4675_ p_49602_)
protected InteractionResult
a(cwq arg0, dwy arg1, dgj arg2, ji arg3, coy arg4, bsk arg5, fax 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)
m_jzhgkbwu(C_sddaxwyk arg0, C_txtbiemp arg1, C_cdctfzbn arg2, C_hynzadkk arg3, C_jzrpycqo arg4, C_laxmzoqs arg5, C_jdakttms arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
onInteract(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
m_51273_(C_1391_ p_328141_, C_2064_ p_329187_, C_1596_ p_335985_, C_4675_ p_336201_, C_1141_ p_333071_, C_470_ p_331246_, C_3041_ arg6)
private boolean
c(dgj arg0, ji arg1)
hiveContainsBees(Level arg0, BlockPos arg1)
method_23894(class_1937 arg0, class_2338 arg1)
m_aggjufua(C_cdctfzbn arg0, C_hynzadkk arg1)
hasBees(World world, BlockPos pos)
hasBees(World world, BlockPos pos)
m_49654_(C_1596_ p_49656_, C_4675_ arg1)
public void
a(dgj arg0, dwy arg1, ji arg2, coy arg3, dtx$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)
m_zslbiakt(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_cyniebsl$C_ajqcctan arg4)
takeHoney(World world, BlockState state, BlockPos pos, PlayerEntity player, BeehiveBlockEntity$BeeState beeState)
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(dgj arg0, dwy arg1, ji arg2)
resetHoneyLevel(Level arg0, BlockState arg1, BlockPos arg2)
method_23754(class_1937 arg0, class_2680 arg1, class_2338 arg2)
m_zqtkksnb(C_cdctfzbn arg0, C_txtbiemp arg1, C_hynzadkk arg2)
takeHoney(World world, BlockState state, BlockPos pos)
takeHoney(World world, BlockState state, BlockPos pos)
m_49590_(C_1596_ p_49592_, C_2064_ p_49593_, C_4675_ arg2)
public void
a(dwy arg0, dgj arg1, ji arg2, azh arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_220774_, C_1596_ p_220775_, C_4675_ p_220776_, C_212974_ arg3)
private void
a(dgj arg0, ji arg1, dwy arg2)
trySpawnDripParticles(Level arg0, BlockPos arg1, BlockState arg2)
method_21843(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_hbusovpj(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
spawnHoneyParticles(World world, BlockPos pos, BlockState state)
spawnHoneyParticles(World world, BlockPos pos, BlockState state)
m_49603_(C_1596_ p_49605_, C_4675_ p_49606_, C_2064_ arg2)
private void
a(dgj arg0, ji arg1, fbv 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)
m_sxeolgug(C_cdctfzbn arg0, C_hynzadkk arg1, C_zscvhwbd arg2, double arg3)
addHoneyParticle(World world, BlockPos pos, VoxelShape shape, double height)
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(dgj 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)
m_zrsrgskv(C_cdctfzbn arg0, double arg1, double arg2, double arg3, double arg4, double arg5)
addHoneyParticle(World world, double minX, double maxX, double minZ, double maxZ, double height)
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(dah arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
m_iwedynhy(C_aiootljq arg0)
getPlacementState(ItemPlacementContext arg0)
getPlacementState(ItemPlacementContext arg0)
m_5573_(C_1445_ arg0)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)
public BlockEntity
a(ji arg0, dwy arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
m_zupvpdxk(C_hynzadkk arg0, C_txtbiemp arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_152185_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dgj arg0, dwy arg1, duc<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
m_ujgennlh(C_cdctfzbn arg0, C_txtbiemp arg1, C_wgqvodus<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<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 BlockState
a(dgj arg0, ji arg1, dwy arg2, coy arg3)
playerWillDestroy(Level arg0, BlockPos arg1, BlockState arg2, Player arg3)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
m_tjijvtpb(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_jzrpycqo arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity 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)
protected List<ItemStack>
a(dwy arg0, evv$a arg1)
getDrops(BlockState arg0, LootParams$Builder arg1)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
m_tgwcmyam(C_txtbiemp arg0, C_nzsnkdtl$C_oqhigtaq arg1)
getDroppedStacks(BlockState arg0, LootWorldContext$Builder arg1)
getDroppedStacks(BlockState arg0, LootContextParameterSet$Builder arg1)
m_49635_(C_2064_ p_287581_, C_286926_$C_286924_ arg1)
protected ItemStack
a(dgm arg0, ji arg1, dwy arg2, boolean arg3)
getCloneItemStack(LevelReader arg0, BlockPos arg1, BlockState arg2, boolean arg3)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
m_orfjlsuz(C_eemzphbi arg0, C_hynzadkk arg1, C_txtbiemp arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
m_48663_(C_1599_ p_377793_, C_4675_ p_377589_, C_2064_ p_376286_, boolean arg3)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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)
m_yvunqpeq(C_txtbiemp arg0, C_eemzphbi arg1, C_adoatlrf arg2, C_hynzadkk arg3, C_xpuuihxf arg4, C_hynzadkk arg5, C_txtbiemp arg6, C_rlomrsco arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, TickSchedulerAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomGenerator arg7)
m_7417_(C_2064_ p_364129_, C_1599_ p_367483_, C_346056_ p_49643_, C_4675_ p_49640_, C_4687_ p_49644_, C_4675_ p_49641_, C_2064_ p_365194_, C_212974_ arg7)
public BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
m_umbsjste(C_txtbiemp arg0, C_mboglirk arg1)
rotate(BlockState arg0, BlockRotation arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_310613_, C_1886_ arg1)
public BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
m_ssvaouey(C_txtbiemp arg0, C_qomzaqud arg1)
mirror(BlockState arg0, BlockMirror arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_310463_, C_1838_ arg1)
public void
a(cwq arg0, cwm$b arg1, List<wp> arg2, cyi 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)
m_xfcybcsi(C_sddaxwyk arg0, C_vorddnax$C_rdhfmrgz arg1, List<C_rdaqiwdt> arg2, C_taebrtdw arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipConfig arg3)
m_5871_(C_1391_ p_361660_, C_1381_$C_313602_ p_361270_, List<C_4996_> p_361330_, C_1431_ arg3)