类 FlowerBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.PlantBlock
-
- net.minecraft.block.FlowerBlock
-
- 所有已实现的接口:
ItemConvertible
- 直接已知子类:
WitherRoseBlock
public class FlowerBlock extends PlantBlock
- Mappings:
Namespace Name official cbgintermediary net/minecraft/class_2356named net/minecraft/block/FlowerBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private StatusEffecteffectInStewprivate inteffectInStewDurationprotected static floatfield_31094protected static VoxelShapeSHAPE-
从类继承的字段 net.minecraft.block.Block
field_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, LOGGER, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, SKIP_LIGHTING_UPDATES, STATE_IDS, stateManager
-
从类继承的字段 net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
-
构造器概要
构造器 构造器 说明 FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StatusEffectgetEffectInStew()intgetEffectInStewDuration()AbstractBlock.OffsetTypegetOffsetType()VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)-
从类继承的方法 net.minecraft.block.PlantBlock
canPathfindThrough, canPlaceAt, canPlantOnTop, getStateForNeighborUpdate, isTranslucent
-
从类继承的方法 net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, 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
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
-
-
-
字段详细资料
-
field_31094
protected static final float field_31094
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcbg;a:Fintermediary field_31094Lnet/minecraft/class_2356;field_31094:Fnamed field_31094Lnet/minecraft/block/FlowerBlock;field_31094:F
-
SHAPE
protected static final VoxelShape SHAPE
- Mappings:
Namespace Name Mixin selector official bLcbg;b:Ldmt;intermediary field_11085Lnet/minecraft/class_2356;field_11085:Lnet/minecraft/class_265;named SHAPELnet/minecraft/block/FlowerBlock;SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
effectInStew
private final StatusEffect effectInStew
- Mappings:
Namespace Name Mixin selector official cLcbg;c:Lasd;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 dLcbg;d:Iintermediary field_11086Lnet/minecraft/class_2356;field_11086:Inamed effectInStewDurationLnet/minecraft/block/FlowerBlock;effectInStewDuration:I
-
-
构造器详细资料
-
FlowerBlock
public FlowerBlock(StatusEffect suspiciousStewEffect, int effectDuration, AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lcbg;<init>(Lasd;ILcjq$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
-
-
方法详细资料
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getOutlineShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;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
public AbstractBlock.OffsetType getOffsetType()
- 覆盖:
getOffsetType在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official ak_Lcjq;ak_()Lcjq$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
public StatusEffect getEffectInStew()
- Mappings:
Namespace Name Mixin selector official cLcbg;c()Lasd;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 dLcbg;d()Iintermediary method_10187Lnet/minecraft/class_2356;method_10187()Inamed getEffectInStewDurationLnet/minecraft/block/FlowerBlock;getEffectInStewDuration()I
-
-