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 csd
intermediary net/minecraft/class_2356
named net/minecraft/block/FlowerBlock
-
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.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final StatusEffect
private final int
protected static final float
protected static final VoxelShape
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, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplier
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
ConstructorDescriptionFlowerBlock
(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionint
getOutlineShape
(BlockState state, BlockView world, BlockPos pos, ShapeContext context) Methods inherited from class net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTransparent
Methods inherited from class net.minecraft.block.Block
afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, 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, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
field_31094
protected static final float field_31094- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lcsd;a:F
intermediary field_31094
Lnet/minecraft/class_2356;field_31094:F
named field_31094
Lnet/minecraft/block/FlowerBlock;field_31094:F
-
SHAPE
- Mappings:
Namespace Name Mixin selector official b
Lcsd;b:Ledx;
intermediary field_11085
Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;
named SHAPE
Lnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
effectInStew
- Mappings:
Namespace Name Mixin selector official c
Lcsd;c:Lbew;
intermediary field_11087
Lnet/minecraft/class_2356;field_11087:Lnet/minecraft/class_1291;
named effectInStew
Lnet/minecraft/block/FlowerBlock;effectInStew:Lnet/minecraft/entity/effect/StatusEffect;
-
effectInStewDuration
private final int effectInStewDuration- Mappings:
Namespace Name Mixin selector official d
Lcsd;d:I
intermediary field_11086
Lnet/minecraft/class_2356;field_11086:I
named effectInStewDuration
Lnet/minecraft/block/FlowerBlock;effectInStewDuration:I
-
-
Constructor Details
-
FlowerBlock
public FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings) - Mappings:
Namespace Name Mixin selector official <init>
Lcsd;<init>(Lbew;ILdbp$d;)V
intermediary <init>
Lnet/minecraft/class_2356;<init>(Lnet/minecraft/class_1291;ILnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/FlowerBlock;<init>(Lnet/minecraft/entity/effect/StatusEffect;ILnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
getOutlineShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Ldbp;a(Ldbq;Lclo;Lgt;Ledj;)Ledx;
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;
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;
-
getEffectInStew
- Specified by:
getEffectInStew
in interfaceSuspiciousStewIngredient
- Mappings:
Namespace Name Mixin selector official b
Lcxg;b()Lbew;
intermediary method_10188
Lnet/minecraft/class_7917;method_10188()Lnet/minecraft/class_1291;
named getEffectInStew
Lnet/minecraft/block/SuspiciousStewIngredient;getEffectInStew()Lnet/minecraft/entity/effect/StatusEffect;
-
getEffectInStewDuration
public int getEffectInStewDuration()- Specified by:
getEffectInStewDuration
in interfaceSuspiciousStewIngredient
- Mappings:
Namespace Name Mixin selector official c
Lcxg;c()I
intermediary method_10187
Lnet/minecraft/class_7917;method_10187()I
named getEffectInStewDuration
Lnet/minecraft/block/SuspiciousStewIngredient;getEffectInStewDuration()I
-