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
public class HoneyBlock extends TransparentBlock
- Mappings:
Namespace Name official cac
intermediary net/minecraft/class_4622
named net/minecraft/block/HoneyBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroup
Nested classes/interfaces inherited from class net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields Modifier and Type Field Description protected static VoxelShape
SHAPE
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description HoneyBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description private void
addCollisionEffects(World world, Entity entity)
private static void
addParticles(Entity entity, int count)
static void
addRegularParticles(Entity entity)
static void
addRichParticles(Entity entity)
VoxelShape
getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
private static boolean
hasHoneyBlockEffects(Entity entity)
private boolean
isSliding(BlockPos pos, Entity entity)
void
onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
void
onLandedUpon(World world, BlockPos pos, Entity entity, float distance)
private void
triggerAdvancement(Entity entity, BlockPos pos)
private void
updateSlidingVelocity(Entity entity)
Methods inherited from class net.minecraft.block.TransparentBlock
isSideInvisible
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
SHAPE
- Mappings:
Namespace Name Mixin selector official a
Lcac;a:Ldjn;
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>
Lchs;<init>(Lchs$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
Lcac;c(Laqv;)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
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getCollisionShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official c
Lchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
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;
-
onLandedUpon
- Overrides:
onLandedUpon
in classBlock
- Mappings:
Namespace Name Mixin selector official a
Lbwu;a(Lbtv;Lfx;Laqv;F)V
intermediary method_9554
Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V
named onLandedUpon
Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
-
onEntityCollision
- Overrides:
onEntityCollision
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lcht;Lbtv;Lfx;Laqv;)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
Lcac;a(Lfx;Laqv;)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
Lcac;a(Laqv;Lfx;)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
Lcac;d(Laqv;)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
Lcac;a(Lbtv;Laqv;)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
Lcac;a(Laqv;)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
Lcac;b(Laqv;)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
Lcac;a(Laqv;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
-