Package net.minecraft.block
Class FlowerBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.FlowerBlock
- All Implemented Interfaces:
- SuspiciousStewIngredient,- ItemConvertible,- ToggleableFeature
- Direct Known Subclasses:
- EyeblossomBlock,- WitherRoseBlock
- Mappings:
- Namespace - Name - named - net/minecraft/block/FlowerBlock- intermediary - net/minecraft/class_2356- official - dmq
- 
Nested Class SummaryNested 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<FlowerBlock> protected static final floatprotected static final VoxelShapeprotected static final com.mojang.serialization.MapCodec<SuspiciousStewEffectsComponent> private final SuspiciousStewEffectsComponentFields 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 SummaryConstructorsConstructorDescriptionFlowerBlock(SuspiciousStewEffectsComponent stewEffects, AbstractBlock.Settings settings) FlowerBlock(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsComponentcreateStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) com.mojang.serialization.MapCodec<? extends FlowerBlock> getCodec()protected VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Methods 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, randomDisplayTick, 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, onEntityCollision, onExploded, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, onUseWithItem, prepare, randomTick, rotate, scheduledTickMethods 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- 
STEW_EFFECT_CODECprotected static final com.mojang.serialization.MapCodec<SuspiciousStewEffectsComponent> STEW_EFFECT_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - STEW_EFFECT_CODEC- Lnet/minecraft/block/FlowerBlock;STEW_EFFECT_CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46354- Lnet/minecraft/class_2356;field_46354:Lcom/mojang/serialization/MapCodec;- official - b- Ldmq;b:Lcom/mojang/serialization/MapCodec;
 
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/block/FlowerBlock;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_46355- Lnet/minecraft/class_2356;field_46355:Lcom/mojang/serialization/MapCodec;- official - c- Ldmq;c:Lcom/mojang/serialization/MapCodec;
 
- 
field_31094protected static final float field_31094- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_31094- Lnet/minecraft/block/FlowerBlock;field_31094:F- intermediary - field_31094- Lnet/minecraft/class_2356;field_31094:F- official - d- Ldmq;d:F
 
- 
SHAPE- Mappings:
- Namespace - Name - Mixin selector - named - SHAPE- Lnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;- intermediary - field_11085- Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;- official - e- Ldmq;e:Lfbv;
 
- 
stewEffects- Mappings:
- Namespace - Name - Mixin selector - named - stewEffects- Lnet/minecraft/block/FlowerBlock;stewEffects:Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;- intermediary - field_45775- Lnet/minecraft/class_2356;field_45775:Lnet/minecraft/class_9298;- official - a- Ldmq;a:Lczr;
 
 
- 
- 
Constructor Details- 
FlowerBlockpublic FlowerBlock(RegistryEntry<StatusEffect> stewEffect, float effectLengthInSeconds, AbstractBlock.Settings settings) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/registry/entry/RegistryEntry;FLnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_6880;FLnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldmq;<init>(Ljr;FLdwx$d;)V
 
- 
FlowerBlock- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;Lnet/minecraft/block/AbstractBlock$Settings;)V- intermediary - <init>- Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_9298;Lnet/minecraft/class_4970$class_2251;)V- official - <init>- Ldmq;<init>(Lczr;Ldwx$d;)V
 
 
- 
- 
Method Details- 
getCodec- Specified by:
- getCodecin class- PlantBlock
- 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;
 
- 
createStewEffectListprotected static SuspiciousStewEffectsComponent createStewEffectList(RegistryEntry<StatusEffect> effect, float effectLengthInSeconds) - Mappings:
- Namespace - Name - Mixin selector - named - createStewEffectList- Lnet/minecraft/block/FlowerBlock;createStewEffectList(Lnet/minecraft/registry/entry/RegistryEntry;F)Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;- intermediary - method_54015- Lnet/minecraft/class_2356;method_54015(Lnet/minecraft/class_6880;F)Lnet/minecraft/class_9298;- official - a- Ldmq;a(Ljr;F)Lczr;
 
- 
getOutlineShapeprotected VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getOutlineShapein class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - getOutlineShape- Lnet/minecraft/block/AbstractBlock;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;- intermediary - method_9530- Lnet/minecraft/class_4970;method_9530(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;- official - a- Ldwx;a(Ldwy;Ldfo;Lji;Lfbg;)Lfbv;
 
- 
getStewEffects- Specified by:
- getStewEffectsin interface- SuspiciousStewIngredient
- Mappings:
- Namespace - Name - Mixin selector - named - getStewEffects- Lnet/minecraft/block/SuspiciousStewIngredient;getStewEffects()Lnet/minecraft/component/type/SuspiciousStewEffectsComponent;- intermediary - method_53233- Lnet/minecraft/class_7917;method_53233()Lnet/minecraft/class_9298;- official - c- Ldru;c()Lczr;
 
- 
getContactEffect- 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;
 
 
-