Package net.minecraft.block
Class HoneyBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.TransparentBlock
net.minecraft.block.HoneyBlock
- All Implemented Interfaces:
- ItemConvertible
- Mappings:
- Namespace - Name - official - cnd- intermediary - net/minecraft/class_4622- named - net/minecraft/block/HoneyBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprotected static final VoxelShapeprivate static final intFields inherited from class net.minecraft.block.Blockfield_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidaddCollisionEffects(World world, Entity entity) private static voidaddParticles(Entity entity, int count) static voidaddRegularParticles(Entity entity) static voidaddRichParticles(Entity entity) getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) private static booleanhasHoneyBlockEffects(Entity entity) private booleanvoidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidonLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.private voidtriggerAdvancement(Entity entity, BlockPos pos) private voidupdateSlidingVelocity(Entity entity) Methods inherited from class net.minecraft.block.TransparentBlockisSideInvisibleMethods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendStacks, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
- 
Field Details- 
field_31101private static final double field_31101- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcnd;b:D- intermediary - field_31101- Lnet/minecraft/class_4622;field_31101:D- named - field_31101- Lnet/minecraft/block/HoneyBlock;field_31101:D
 
- 
field_31102private static final double field_31102- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcnd;c:D- intermediary - field_31102- Lnet/minecraft/class_4622;field_31102:D- named - field_31102- Lnet/minecraft/block/HoneyBlock;field_31102:D
 
- 
field_31103private static final double field_31103- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lcnd;d:D- intermediary - field_31103- Lnet/minecraft/class_4622;field_31103:D- named - field_31103- Lnet/minecraft/block/HoneyBlock;field_31103:D
 
- 
TICKS_PER_SECONDprivate static final int TICKS_PER_SECOND- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - e- Lcnd;e:I- intermediary - field_31104- Lnet/minecraft/class_4622;field_31104:I- named - TICKS_PER_SECOND- Lnet/minecraft/block/HoneyBlock;TICKS_PER_SECOND:I
 
- 
SHAPE- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a:Ldxj;- intermediary - field_21213- Lnet/minecraft/class_4622;field_21213:Lnet/minecraft/class_265;- named - SHAPE- Lnet/minecraft/block/HoneyBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
 
 
- 
- 
Constructor Details- 
HoneyBlock- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lcvn;<init>(Lcvn$c;)V- intermediary - <init>- Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V- named - <init>- Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
 
 
- 
- 
Method Details- 
hasHoneyBlockEffects- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcnd;c(Lbbn;)Z- intermediary - method_24179- Lnet/minecraft/class_4622;method_24179(Lnet/minecraft/class_1297;)Z- named - hasHoneyBlockEffects- Lnet/minecraft/block/HoneyBlock;hasHoneyBlockEffects(Lnet/minecraft/entity/Entity;)Z
 
- 
getCollisionShapepublic VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCollisionShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcvn;c(Lcvo;Lcgd;Lgt;Ldwv;)Ldxj;- intermediary - method_9549- Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- named - getCollisionShape- Lnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
 
- 
onLandedUponpublic void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.Default implementation deals fall damage to the entity. Blocks that increase or reduce fall damage (like HayBlock) should override this.FarmlandBlockoverrides this method to convert the block to dirt.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- onLandedUponin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcjt;a(Lcgx;Lcvo;Lgt;Lbbn;F)V- intermediary - method_9554- Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V- named - onLandedUpon- Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
 
- 
onEntityCollisionCalled when the entity's collision box intersects the block. Therefore, this method is not called for blocks with a collision; useBlock.onSteppedOn(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.entity.Entity)for those blocks.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.Here are some examples: - CactusBlockdamages the entity.
- AbstractPressurePlateBlocktriggers.
- CobwebBlockslows the entity.
- EndPortalBlockteleports the entity.
- HopperBlockcollects the item entity.
 - Overrides:
- onEntityCollisionin class- AbstractBlock
- See Also:
- 
- Block.onSteppedOn(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.entity.Entity)
- AbstractBlock.onProjectileHit(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.hit.BlockHitResult, net.minecraft.entity.projectile.ProjectileEntity)
 
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcvn;a(Lcvo;Lcgx;Lgt;Lbbn;)V- intermediary - method_9548- Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V- named - onEntityCollision- Lnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
 
- 
isSliding- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a(Lgt;Lbbn;)Z- intermediary - method_23356- Lnet/minecraft/class_4622;method_23356(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Z- named - isSliding- Lnet/minecraft/block/HoneyBlock;isSliding(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
 
- 
triggerAdvancement- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a(Lbbn;Lgt;)V- intermediary - method_24176- Lnet/minecraft/class_4622;method_24176(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)V- named - triggerAdvancement- Lnet/minecraft/block/HoneyBlock;triggerAdvancement(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)V
 
- 
updateSlidingVelocity- Mappings:
- Namespace - Name - Mixin selector - official - d- Lcnd;d(Lbbn;)V- intermediary - method_24180- Lnet/minecraft/class_4622;method_24180(Lnet/minecraft/class_1297;)V- named - updateSlidingVelocity- Lnet/minecraft/block/HoneyBlock;updateSlidingVelocity(Lnet/minecraft/entity/Entity;)V
 
- 
addCollisionEffects- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a(Lcgx;Lbbn;)V- intermediary - method_24177- Lnet/minecraft/class_4622;method_24177(Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;)V- named - addCollisionEffects- Lnet/minecraft/block/HoneyBlock;addCollisionEffects(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)V
 
- 
addRegularParticles- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a(Lbbn;)V- intermediary - method_24175- Lnet/minecraft/class_4622;method_24175(Lnet/minecraft/class_1297;)V- named - addRegularParticles- Lnet/minecraft/block/HoneyBlock;addRegularParticles(Lnet/minecraft/entity/Entity;)V
 
- 
addRichParticles- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcnd;b(Lbbn;)V- intermediary - method_24178- Lnet/minecraft/class_4622;method_24178(Lnet/minecraft/class_1297;)V- named - addRichParticles- Lnet/minecraft/block/HoneyBlock;addRichParticles(Lnet/minecraft/entity/Entity;)V
 
- 
addParticles- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcnd;a(Lbbn;I)V- intermediary - method_23355- Lnet/minecraft/class_4622;method_23355(Lnet/minecraft/class_1297;I)V- named - addParticles- Lnet/minecraft/block/HoneyBlock;addParticles(Lnet/minecraft/entity/Entity;I)V
 
 
-