类 AbstractFireBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.AbstractFireBlock
-
- 所有已实现的接口:
ItemConvertible
- 直接已知子类:
FireBlock,SoulFireBlock
public abstract class AbstractFireBlock extends Block
- Mappings:
Namespace Name official byeintermediary net/minecraft/class_4770named net/minecraft/block/AbstractFireBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected static VoxelShapeBASE_SHAPEprivate floatdamageprotected static floatfield_31007private static intfield_31008-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 AbstractFireBlock(AbstractBlock.Settings settings, float damage)
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 static booleancanPlaceAt(World world, BlockPos pos, Direction direction)VoxelShapegetOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)BlockStategetPlacementState(ItemPlacementContext ctx)static BlockStategetState(BlockView world, BlockPos pos)protected abstract booleanisFlammable(BlockState state)private static booleanisOverworldOrNether(World world)voidonBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)voidonBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)voidrandomDisplayTick(BlockState state, World world, BlockPos pos, Random random)private static booleanshouldLightPortalAt(World world, BlockPos pos, Direction direction)protected voidspawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)-
从类继承的方法 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, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
-
从类继承的方法 net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCameraCollisionShape, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
-
-
-
字段详细资料
-
field_31008
private static final int field_31008
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLbye;c:Iintermediary field_31008Lnet/minecraft/class_4770;field_31008:Inamed field_31008Lnet/minecraft/block/AbstractFireBlock;field_31008:I
-
field_31007
protected static final float field_31007
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbye;a:Fintermediary field_31007Lnet/minecraft/class_4770;field_31007:Fnamed field_31007Lnet/minecraft/block/AbstractFireBlock;field_31007:F
-
BASE_SHAPE
protected static final VoxelShape BASE_SHAPE
- Mappings:
Namespace Name Mixin selector official bLbye;b:Ldmt;intermediary field_22498Lnet/minecraft/class_4770;field_22498:Lnet/minecraft/class_265;named BASE_SHAPELnet/minecraft/block/AbstractFireBlock;BASE_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
-
damage
private final float damage
- Mappings:
Namespace Name Mixin selector official dLbye;d:Fintermediary field_22088Lnet/minecraft/class_4770;field_22088:Fnamed damageLnet/minecraft/block/AbstractFireBlock;damage:F
-
-
构造器详细资料
-
AbstractFireBlock
public AbstractFireBlock(AbstractBlock.Settings settings, float damage)
- Mappings:
Namespace Name Mixin selector official <init>Lbye;<init>(Lcjq$c;F)Vintermediary <init>Lnet/minecraft/class_4770;<init>(Lnet/minecraft/class_4970$class_2251;F)Vnamed <init>Lnet/minecraft/block/AbstractFireBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;F)V
-
-
方法详细资料
-
getPlacementState
public BlockState getPlacementState(ItemPlacementContext ctx)
- 覆盖:
getPlacementState在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbrr;)Lcjr;intermediary method_9605Lnet/minecraft/class_2248;method_9605(Lnet/minecraft/class_1750;)Lnet/minecraft/class_2680;named getPlacementStateLnet/minecraft/block/Block;getPlacementState(Lnet/minecraft/item/ItemPlacementContext;)Lnet/minecraft/block/BlockState;
-
getState
public static BlockState getState(BlockView world, BlockPos pos)
- Mappings:
Namespace Name Mixin selector official aLbye;a(Lbuv;Lgb;)Lcjr;intermediary method_24416Lnet/minecraft/class_4770;method_24416(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getStateLnet/minecraft/block/AbstractFireBlock;getState(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
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;
-
randomDisplayTick
public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)
- 覆盖:
randomDisplayTick在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lcjr;Lbvr;Lgb;Ljava/util/Random;)Vintermediary method_9496Lnet/minecraft/class_2248;method_9496(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Ljava/util/Random;)Vnamed randomDisplayTickLnet/minecraft/block/Block;randomDisplayTick(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
isFlammable
protected abstract boolean isFlammable(BlockState state)
- Mappings:
Namespace Name Mixin selector official fLbye;f(Lcjr;)Zintermediary method_10195Lnet/minecraft/class_4770;method_10195(Lnet/minecraft/class_2680;)Znamed isFlammableLnet/minecraft/block/AbstractFireBlock;isFlammable(Lnet/minecraft/block/BlockState;)Z
-
onEntityCollision
public void onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
- 覆盖:
onEntityCollision在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbvr;Lgb;Lasl;)Vintermediary method_9548Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)Vnamed onEntityCollisionLnet/minecraft/block/AbstractBlock;onEntityCollision(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
-
onBlockAdded
public void onBlockAdded(BlockState state, World world, BlockPos pos, BlockState oldState, boolean notify)
- 覆盖:
onBlockAdded在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Lbvr;Lgb;Lcjr;Z)Vintermediary method_9615Lnet/minecraft/class_4970;method_9615(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Vnamed onBlockAddedLnet/minecraft/block/AbstractBlock;onBlockAdded(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
isOverworldOrNether
private static boolean isOverworldOrNether(World world)
- Mappings:
Namespace Name Mixin selector official aLbye;a(Lbvr;)Zintermediary method_30366Lnet/minecraft/class_4770;method_30366(Lnet/minecraft/class_1937;)Znamed isOverworldOrNetherLnet/minecraft/block/AbstractFireBlock;isOverworldOrNether(Lnet/minecraft/world/World;)Z
-
spawnBreakParticles
protected void spawnBreakParticles(World world, PlayerEntity player, BlockPos pos, BlockState state)
- 覆盖:
spawnBreakParticles在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lbjf;Lgb;Lcjr;)Vintermediary method_33614Lnet/minecraft/class_2248;method_33614(Lnet/minecraft/class_1937;Lnet/minecraft/class_1657;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed spawnBreakParticlesLnet/minecraft/block/Block;spawnBreakParticles(Lnet/minecraft/world/World;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
onBreak
public void onBreak(World world, BlockPos pos, BlockState state, PlayerEntity player)
- 覆盖:
onBreak在类中Block- Mappings:
Namespace Name Mixin selector official aLbyq;a(Lbvr;Lgb;Lcjr;Lbjf;)Vintermediary method_9576Lnet/minecraft/class_2248;method_9576(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_1657;)Vnamed onBreakLnet/minecraft/block/Block;onBreak(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/entity/player/PlayerEntity;)V
-
canPlaceAt
public static boolean canPlaceAt(World world, BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official aLbye;a(Lbvr;Lgb;Lgg;)Zintermediary method_30032Lnet/minecraft/class_4770;method_30032(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed canPlaceAtLnet/minecraft/block/AbstractFireBlock;canPlaceAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
shouldLightPortalAt
private static boolean shouldLightPortalAt(World world, BlockPos pos, Direction direction)
- Mappings:
Namespace Name Mixin selector official bLbye;b(Lbvr;Lgb;Lgg;)Zintermediary method_30033Lnet/minecraft/class_4770;method_30033(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed shouldLightPortalAtLnet/minecraft/block/AbstractFireBlock;shouldLightPortalAt(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-
-