Class EyeblossomBlock
- All Implemented Interfaces:
- SuspiciousStewIngredient,- ItemConvertible,- ToggleableFeature
- Mappings:
- Namespace - Name - named - net/minecraft/block/EyeblossomBlock- intermediary - net/minecraft/class_10374- official - dmh
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<EyeblossomBlock> private static final intprivate static final intprivate final EyeblossomBlock.EyeblossomStateFields inherited from class net.minecraft.block.FlowerBlockfield_31094, SHAPE, STEW_EFFECT_CODECFields inherited from class net.minecraft.block.Blockfield_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_ALL_AND_REDRAW, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_REDSTONE_WIRE_STATE_REPLACEMENT, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableKey, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, translationKey, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructorsConstructorDescriptionEyeblossomBlock(boolean open, AbstractBlock.Settings settings) EyeblossomBlock(EyeblossomBlock.EyeblossomState state, AbstractBlock.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends EyeblossomBlock> getCodec()protected voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random) Called randomly on the client.protected voidrandomTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block gets ticked randomly.protected voidscheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random random) Called server-side when a block receives a scheduled tick.private booleanupdateStateAndNotifyOthers(BlockState state, ServerWorld world, BlockPos pos, Random random) Methods inherited from class net.minecraft.block.FlowerBlockcreateStewEffectList, getOutlineShape, getStewEffectsMethods inherited from class net.minecraft.block.PlantBlockcanPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTransparentMethods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getStateFromRawId, getStateManager, getStateWithProperties, getVelocityMultiplier, hasDynamicBounds, hasTopRim, isFaceFullSquare, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getInsideCollisionShape, getLootTableKey, getMaxHorizontalModelOffset, getOpacity, getPickStack, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getSoundGroup, getStrongRedstonePower, getTranslationKey, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasRandomTicks, hasSidedTransparency, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, rotateMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/EyeblossomBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_55066- Lnet/minecraft/class_10374;field_55066:Lcom/mojang/serialization/MapCodec;- official - a- Ldmh;a:Lcom/mojang/serialization/MapCodec;
 
- 
NOTIFY_RANGE_XZprivate static final int NOTIFY_RANGE_XZ- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - NOTIFY_RANGE_XZ- Lnet/minecraft/block/EyeblossomBlock;NOTIFY_RANGE_XZ:I- intermediary - field_55067- Lnet/minecraft/class_10374;field_55067:I- official - f- Ldmh;f:I
 
- 
NOTIFY_RANGE_Yprivate static final int NOTIFY_RANGE_Y- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - NOTIFY_RANGE_Y- Lnet/minecraft/block/EyeblossomBlock;NOTIFY_RANGE_Y:I- intermediary - field_55068- Lnet/minecraft/class_10374;field_55068:I- official - g- Ldmh;g:I
 
- 
state- Mappings:
- Namespace - Name - Mixin selector - named - state- Lnet/minecraft/block/EyeblossomBlock;state:Lnet/minecraft/block/EyeblossomBlock$EyeblossomState;- intermediary - field_55069- Lnet/minecraft/class_10374;field_55069:Lnet/minecraft/class_10374$class_10375;- official - h- Ldmh;h:Ldmh$a;
 
 
- 
- 
Constructor Details- 
EyeblossomBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/EyeblossomBlock;<init>(Lnet/minecraft/block/EyeblossomBlock$EyeblossomState;Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_10374;<init>(Lnet/minecraft/class_10374$class_10375;Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldmh;<init>(Ldmh$a;Ldwx$d;)V
 
- 
EyeblossomBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/EyeblossomBlock;<init>(ZLnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_10374;<init>(ZLnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldmh;<init>(ZLdwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Overrides:
- getCodecin class- FlowerBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getCodec- Lnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;- intermediary - method_53969- Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;- official - a- Ldwx;a()Lcom/mojang/serialization/MapCodec;
 
- 
randomDisplayTickCalled randomly on the client. Blocks may override this to spawn particles. UnlikeAbstractBlock.randomTick(net.minecraft.block.BlockState, net.minecraft.server.world.ServerWorld, net.minecraft.util.math.BlockPos, net.minecraft.util.math.random.Random)this is not affected by a game rule.- Overrides:
- randomDisplayTickin class- Block
- Mappings:
- Namespace - Name - Mixin selector - named - randomDisplayTick- Lnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V- intermediary - method_9496- Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V- official - a- Ldjn;a(Ldwy;Ldgj;Lji;Lazh;)V
 
- 
randomTickCalled server-side when a block gets ticked randomly. This can be overridden to implement various logics, most commonly plant growth. Default implementation does nothing. To control the rate of the action, userandom.Random tick speed is controlled by the game rule randomTickSpeedand can be disabled. Only blocks within 128-block cylinder (i.e. ignoring Y coordinates) around players receive random ticks.Blocks overriding this must use AbstractBlock.Settings.ticksRandomly()block settings.Here are some examples: - SugarCaneBlockuses this to grow sugar cane.
- OxidizableBlockuses this to oxidize.
- NetherPortalBlockuses this to spawn zombified piglins.
- LeavesBlockuses this to decay when far from logs.
 - Overrides:
- randomTickin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - randomTick- Lnet/minecraft/block/AbstractBlock;randomTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V- intermediary - method_9514- Lnet/minecraft/class_4970;method_9514(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V- official - b- Ldwx;b(Ldwy;Lard;Lji;Lazh;)V
 
- 
scheduledTickCalled server-side when a block receives a scheduled tick. This can be used like a timer. Scheduled ticks are added usingScheduledTickView.scheduleBlockTick(BlockPos, Block, int).Scheduled ticks are often used inside PlantBlock.getStateForNeighborUpdate(net.minecraft.block.BlockState, net.minecraft.world.WorldView, net.minecraft.world.tick.ScheduledTickView, net.minecraft.util.math.BlockPos, net.minecraft.util.math.Direction, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.util.math.random.Random).Here are some examples: - SugarCaneBlockchecks the placement requirement.
- DispenserBlockdispenses its content.
- CommandBlockexecutes its command.
- FrogspawnBlockspawns a tadpole.
- SoulSandBlockupdates a bubble column.
- FallingBlocktries to fall.
 - Overrides:
- scheduledTickin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - scheduledTick- Lnet/minecraft/block/AbstractBlock;scheduledTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)V- intermediary - method_9588- Lnet/minecraft/class_4970;method_9588(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)V- official - a- Ldwx;a(Ldwy;Lard;Lji;Lazh;)V
 
- 
updateStateAndNotifyOthersprivate boolean updateStateAndNotifyOthers(BlockState state, ServerWorld world, BlockPos pos, Random random) - Mappings:
- Namespace - Name - Mixin selector - named - updateStateAndNotifyOthers- Lnet/minecraft/block/EyeblossomBlock;updateStateAndNotifyOthers(Lnet/minecraft/block/BlockState;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z- intermediary - method_65153- Lnet/minecraft/class_10374;method_65153(Lnet/minecraft/class_2680;Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z- official - c- Ldmh;c(Ldwy;Lard;Lji;Lazh;)Z
 
- 
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:
- Mappings:
- Namespace - Name - Mixin selector - 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- 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- official - a- Ldwx;a(Ldwy;Ldgj;Lji;Lbum;)V
 
- 
getContactEffect- Overrides:
- getContactEffectin class- FlowerBlock
- Mappings:
- Namespace - Name - Mixin selector - named - getContactEffect- Lnet/minecraft/block/FlowerBlock;getContactEffect()Lnet/minecraft/entity/effect/StatusEffectInstance;- intermediary - method_65152- Lnet/minecraft/class_2356;method_65152()Lnet/minecraft/class_1293;- official - b- Ldmq;b()Lbtr;
 
 
-