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:
ItemConvertible
- Direct Known Subclasses:
WitherRoseBlock
public class FlowerBlock extends PlantBlock
- Mappings:
Namespace Name official bzkintermediary 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.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A> -
Field Summary
Fields Modifier and Type Field Description private StatusEffecteffectInStewprivate inteffectInStewDurationprotected static VoxelShapeSHAPEFields inherited from class net.minecraft.block.Block
LOGGER, 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 FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description StatusEffectgetEffectInStew()intgetEffectInStewDuration()AbstractBlock.OffsetTypegetOffsetType()VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)Methods inherited from class net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTranslucentMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
Field Details
-
SHAPE
- Mappings:
Namespace Name Mixin selector official aLbzk;a:Ldjn;intermediary field_11085Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
effectInStew
- Mappings:
Namespace Name Mixin selector official bLbzk;b:Laqn;intermediary field_11087Lnet/minecraft/class_2356;field_11087:Lnet/minecraft/class_1291;named effectInStewLnet/minecraft/block/FlowerBlock;effectInStew:Lnet/minecraft/entity/effect/StatusEffect;
-
effectInStewDuration
private final int effectInStewDuration- Mappings:
Namespace Name Mixin selector official cLbzk;c:Iintermediary field_11086Lnet/minecraft/class_2356;field_11086:Inamed effectInStewDurationLnet/minecraft/block/FlowerBlock;effectInStewDuration:I
-
-
Constructor Details
-
FlowerBlock
public FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)- Mappings:
Namespace Name Mixin selector official <init>Lbzk;<init>(Laqn;ILchs$c;)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
-
-
Method Details
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;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;
-
getOffsetType
- Overrides:
getOffsetTypein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aj_Lchs;aj_()Lchs$b;intermediary method_16841Lnet/minecraft/class_4970;method_16841()Lnet/minecraft/class_4970$class_2250;named getOffsetTypeLnet/minecraft/block/AbstractBlock;getOffsetType()Lnet/minecraft/block/AbstractBlock$OffsetType;
-
getEffectInStew
- Mappings:
Namespace Name Mixin selector official cLbzk;c()Laqn;intermediary method_10188Lnet/minecraft/class_2356;method_10188()Lnet/minecraft/class_1291;named getEffectInStewLnet/minecraft/block/FlowerBlock;getEffectInStew()Lnet/minecraft/entity/effect/StatusEffect;
-
getEffectInStewDuration
public int getEffectInStewDuration()- Mappings:
Namespace Name Mixin selector official dLbzk;d()Iintermediary method_10187Lnet/minecraft/class_2356;method_10187()Inamed getEffectInStewDurationLnet/minecraft/block/FlowerBlock;getEffectInStewDuration()I
-