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 cbyintermediary net/minecraft/class_4622named net/minecraft/block/HoneyBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested 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 private static doublefield_31101private static doublefield_31102private static doublefield_31103private static intfield_31104protected static VoxelShapeSHAPEFields inherited from class net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, 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.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 voidaddCollisionEffects(World world, Entity entity)private static voidaddParticles(Entity entity, int count)static voidaddRegularParticles(Entity entity)static voidaddRichParticles(Entity entity)VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)private static booleanhasHoneyBlockEffects(Entity entity)private booleanisSliding(BlockPos pos, Entity entity)voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidonLandedUpon(World world, BlockPos pos, Entity entity, float distance)private voidtriggerAdvancement(Entity entity, BlockPos pos)private voidupdateSlidingVelocity(Entity entity)Methods inherited from class net.minecraft.block.TransparentBlock
isSideInvisibleMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, 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.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
field_31101
private static final double field_31101- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLcby;b:Dintermediary field_31101Lnet/minecraft/class_4622;field_31101:Dnamed field_31101Lnet/minecraft/block/HoneyBlock;field_31101:D
-
field_31102
private static final double field_31102- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLcby;c:Dintermediary field_31102Lnet/minecraft/class_4622;field_31102:Dnamed field_31102Lnet/minecraft/block/HoneyBlock;field_31102:D
-
field_31103
private static final double field_31103- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official dLcby;d:Dintermediary field_31103Lnet/minecraft/class_4622;field_31103:Dnamed field_31103Lnet/minecraft/block/HoneyBlock;field_31103:D
-
field_31104
private static final int field_31104- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official eLcby;e:Iintermediary field_31104Lnet/minecraft/class_4622;field_31104:Inamed field_31104Lnet/minecraft/block/HoneyBlock;field_31104:I
-
SHAPE
- Mappings:
Namespace Name Mixin selector official aLcby;a:Ldmr;intermediary field_21213Lnet/minecraft/class_4622;field_21213:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/HoneyBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
HoneyBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
hasHoneyBlockEffects
- Mappings:
Namespace Name Mixin selector official cLcby;c(Lasl;)Zintermediary method_24179Lnet/minecraft/class_4622;method_24179(Lnet/minecraft/class_1297;)Znamed hasHoneyBlockEffectsLnet/minecraft/block/HoneyBlock;hasHoneyBlockEffects(Lnet/minecraft/entity/Entity;)Z
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getCollisionShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official cLcjq;c(Lcjr;Lbuv;Lgb;Ldmd;)Ldmr;intermediary method_9549Lnet/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 getCollisionShapeLnet/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:
onLandedUponin classBlock- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lasl;F)Vintermediary method_9554Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)Vnamed onLandedUponLnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
-
onEntityCollision
- Overrides:
onEntityCollisionin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lasl;)Vintermediary method_9548Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Vnamed onEntityCollisionLnet/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 aLcby;a(Lgb;Lasl;)Zintermediary method_23356Lnet/minecraft/class_4622;method_23356(Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Znamed isSlidingLnet/minecraft/block/HoneyBlock;isSliding(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)Z
-
triggerAdvancement
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lasl;Lgb;)Vintermediary method_24176Lnet/minecraft/class_4622;method_24176(Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)Vnamed triggerAdvancementLnet/minecraft/block/HoneyBlock;triggerAdvancement(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/BlockPos;)V
-
updateSlidingVelocity
- Mappings:
Namespace Name Mixin selector official dLcby;d(Lasl;)Vintermediary method_24180Lnet/minecraft/class_4622;method_24180(Lnet/minecraft/class_1297;)Vnamed updateSlidingVelocityLnet/minecraft/block/HoneyBlock;updateSlidingVelocity(Lnet/minecraft/entity/Entity;)V
-
addCollisionEffects
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lbvr;Lasl;)Vintermediary method_24177Lnet/minecraft/class_4622;method_24177(Lnet/minecraft/class_1937;Lnet/minecraft/class_1297;)Vnamed addCollisionEffectsLnet/minecraft/block/HoneyBlock;addCollisionEffects(Lnet/minecraft/world/World;Lnet/minecraft/entity/Entity;)V
-
addRegularParticles
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lasl;)Vintermediary method_24175Lnet/minecraft/class_4622;method_24175(Lnet/minecraft/class_1297;)Vnamed addRegularParticlesLnet/minecraft/block/HoneyBlock;addRegularParticles(Lnet/minecraft/entity/Entity;)V
-
addRichParticles
- Mappings:
Namespace Name Mixin selector official bLcby;b(Lasl;)Vintermediary method_24178Lnet/minecraft/class_4622;method_24178(Lnet/minecraft/class_1297;)Vnamed addRichParticlesLnet/minecraft/block/HoneyBlock;addRichParticles(Lnet/minecraft/entity/Entity;)V
-
addParticles
- Mappings:
Namespace Name Mixin selector official aLcby;a(Lasl;I)Vintermediary method_23355Lnet/minecraft/class_4622;method_23355(Lnet/minecraft/class_1297;I)Vnamed addParticlesLnet/minecraft/block/HoneyBlock;addParticles(Lnet/minecraft/entity/Entity;I)V
-