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:
WitherRoseBlock
- Mappings:
Namespace Name official cycintermediary net/minecraft/class_2356named net/minecraft/block/FlowerBlock
-
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.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>Nested classes/interfaces inherited from interface net.minecraft.block.SuspiciousStewIngredient
SuspiciousStewIngredient.StewEffect -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<FlowerBlock>protected static final floatprotected static final VoxelShapeprotected static final com.mojang.serialization.MapCodec<List<SuspiciousStewIngredient.StewEffect>>private final List<SuspiciousStewIngredient.StewEffect>Fields inherited from class net.minecraft.block.Block
field_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, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsConstructorDescriptionFlowerBlock(List<SuspiciousStewIngredient.StewEffect> stewEffects, AbstractBlock.Settings settings) FlowerBlock(StatusEffect stewEffect, int duration, AbstractBlock.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionprotected static List<SuspiciousStewIngredient.StewEffect>createStewEffectList(StatusEffect stewEffect, int duration) com.mojang.serialization.MapCodec<? extends FlowerBlock>getCodec()getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Methods inherited from class net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTransparentMethods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, 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, 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.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createCodec, createScreenHandlerFactory, createSettingsCodec, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSettings, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
STEW_EFFECT_CODEC
protected static final com.mojang.serialization.MapCodec<List<SuspiciousStewIngredient.StewEffect>> STEW_EFFECT_CODEC- Mappings:
Namespace Name Mixin selector official aLcyc;a:Lcom/mojang/serialization/MapCodec;intermediary field_46354Lnet/minecraft/class_2356;field_46354:Lcom/mojang/serialization/MapCodec;named STEW_EFFECT_CODECLnet/minecraft/block/FlowerBlock;STEW_EFFECT_CODEC:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official bLcyc;b:Lcom/mojang/serialization/MapCodec;intermediary field_46355Lnet/minecraft/class_2356;field_46355:Lcom/mojang/serialization/MapCodec;named CODECLnet/minecraft/block/FlowerBlock;CODEC:Lcom/mojang/serialization/MapCodec;
-
field_31094
protected static final float field_31094- See Also:
- Mappings:
Namespace Name Mixin selector official cLcyc;c:Fintermediary field_31094Lnet/minecraft/class_2356;field_31094:Fnamed field_31094Lnet/minecraft/block/FlowerBlock;field_31094:F
-
SHAPE
- Mappings:
Namespace Name Mixin selector official dLcyc;d:Lekn;intermediary field_11085Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
stewEffects
- Mappings:
Namespace Name Mixin selector official eLcyc;e:Ljava/util/List;intermediary field_45775Lnet/minecraft/class_2356;field_45775:Ljava/util/List;named stewEffectsLnet/minecraft/block/FlowerBlock;stewEffects:Ljava/util/List;
-
-
Constructor Details
-
FlowerBlock
- Mappings:
Namespace Name Mixin selector official <init>Lcyc;<init>(Lbkb;ILdhh$d;)Vintermediary <init>Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_1291;ILnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/entity/effect/StatusEffect;ILnet/minecraft/block/AbstractBlock$Settings;)V
-
FlowerBlock
public FlowerBlock(List<SuspiciousStewIngredient.StewEffect> stewEffects, AbstractBlock.Settings settings) - Mappings:
Namespace Name Mixin selector official <init>Lcyc;<init>(Ljava/util/List;Ldhh$d;)Vintermediary <init>Lnet/minecraft/class_2356;<init>(Ljava/util/List;Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/FlowerBlock;<init>(Ljava/util/List;Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getCodec
- Specified by:
getCodecin classPlantBlock- Mappings:
Namespace Name Mixin selector official aLdhh;a()Lcom/mojang/serialization/MapCodec;intermediary method_53969Lnet/minecraft/class_4970;method_53969()Lcom/mojang/serialization/MapCodec;named getCodecLnet/minecraft/block/AbstractBlock;getCodec()Lcom/mojang/serialization/MapCodec;
-
createStewEffectList
protected static List<SuspiciousStewIngredient.StewEffect> createStewEffectList(StatusEffect stewEffect, int duration) - Mappings:
Namespace Name Mixin selector official aLcyc;a(Lbkb;I)Ljava/util/List;intermediary method_54015Lnet/minecraft/class_2356;method_54015(Lnet/minecraft/class_1291;I)Ljava/util/List;named createStewEffectListLnet/minecraft/block/FlowerBlock;createStewEffectList(Lnet/minecraft/entity/effect/StatusEffect;I)Ljava/util/List;
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLdhh;a(Ldhi;Lcrg;Lht;Lejz;)Lekn;intermediary method_9530Lnet/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;named getOutlineShapeLnet/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;
-
getStewEffects
- Specified by:
getStewEffectsin interfaceSuspiciousStewIngredient- Mappings:
Namespace Name Mixin selector official bLddb;b()Ljava/util/List;intermediary method_53233Lnet/minecraft/class_7917;method_53233()Ljava/util/List;named getStewEffectsLnet/minecraft/block/SuspiciousStewIngredient;getStewEffects()Ljava/util/List;
-