类 PowderSnowBlock
- java.lang.Object
-
- net.minecraft.block.AbstractBlock
-
- net.minecraft.block.Block
-
- net.minecraft.block.PowderSnowBlock
-
- 所有已实现的接口:
FluidDrainable,ItemConvertible
public class PowderSnowBlock extends Block implements FluidDrainable
- Mappings:
Namespace Name official cdrintermediary net/minecraft/class_5635named net/minecraft/block/PowderSnowBlock
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.block.Block
Block.NeighborGroup
-
从类继承的嵌套类/接口 net.minecraft.block.AbstractBlock
AbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
-
字段概要
字段 修饰符和类型 字段 说明 private static intfield_31216private static floatfield_31217private static floatfield_31218private static floatfield_31219private static VoxelShapefield_31220-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 PowderSnowBlock(AbstractBlock.Settings settings)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)static booleancanWalkOnPowderSnow(Entity entity)Optional<SoundEvent>getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.VoxelShapegetCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetCullingShape(BlockState state, BlockView world, BlockPos pos)booleanisSideInvisible(BlockState state, BlockState stateFrom, Direction direction)voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)static voidspawnParticles(World world, Vec3d pos)ItemStacktryDrainFluid(WorldAccess world, 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, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, 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, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getOutlineShape, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
-
-
-
-
字段详细资料
-
field_31216
private static final int field_31216
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLcdr;a:Iintermediary field_31216Lnet/minecraft/class_5635;field_31216:Inamed field_31216Lnet/minecraft/block/PowderSnowBlock;field_31216:I
-
field_31217
private static final float field_31217
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bLcdr;b:Fintermediary field_31217Lnet/minecraft/class_5635;field_31217:Fnamed field_31217Lnet/minecraft/block/PowderSnowBlock;field_31217:F
-
field_31218
private static final float field_31218
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLcdr;c:Fintermediary field_31218Lnet/minecraft/class_5635;field_31218:Fnamed field_31218Lnet/minecraft/block/PowderSnowBlock;field_31218:F
-
field_31219
private static final float field_31219
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official dLcdr;d:Fintermediary field_31219Lnet/minecraft/class_5635;field_31219:Fnamed field_31219Lnet/minecraft/block/PowderSnowBlock;field_31219:F
-
field_31220
private static final VoxelShape field_31220
- Mappings:
Namespace Name Mixin selector official eLcdr;e:Ldmt;intermediary field_31220Lnet/minecraft/class_5635;field_31220:Lnet/minecraft/class_265;named field_31220Lnet/minecraft/block/PowderSnowBlock;field_31220:Lnet/minecraft/util/shape/VoxelShape;
-
-
构造器详细资料
-
PowderSnowBlock
public PowderSnowBlock(AbstractBlock.Settings settings)
- Mappings:
Namespace Name Mixin selector official <init>Lcjq;<init>(Lcjq$c;)Vintermediary <init>Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)Vnamed <init>Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
方法详细资料
-
isSideInvisible
public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
- 覆盖:
isSideInvisible在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lcjr;Lgg;)Zintermediary method_9522Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Znamed isSideInvisibleLnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
getCullingShape
public VoxelShape getCullingShape(BlockState state, BlockView world, BlockPos pos)
- 覆盖:
getCullingShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official a_Lcjq;a_(Lcjr;Lbuv;Lgb;)Ldmt;intermediary method_9571Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;named getCullingShapeLnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
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
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getCollisionShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official cLcjq;c(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;intermediary method_9549Lnet/minecraft/class_4970;method_9549(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;named getCollisionShapeLnet/minecraft/block/AbstractBlock;getCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
getCameraCollisionShape
public VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
- 覆盖:
getCameraCollisionShape在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official bLcjq;b(Lcjr;Lbuv;Lgb;Ldmf;)Ldmt;intermediary method_26159Lnet/minecraft/class_4970;method_26159(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_3726;)Lnet/minecraft/class_265;named getCameraCollisionShapeLnet/minecraft/block/AbstractBlock;getCameraCollisionShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/ShapeContext;)Lnet/minecraft/util/shape/VoxelShape;
-
spawnParticles
public static void spawnParticles(World world, Vec3d pos)
- Mappings:
Namespace Name Mixin selector official aLcdr;a(Lbvr;Ldma;)Vintermediary method_32356Lnet/minecraft/class_5635;method_32356(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)Vnamed spawnParticlesLnet/minecraft/block/PowderSnowBlock;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)V
-
canWalkOnPowderSnow
public static boolean canWalkOnPowderSnow(Entity entity)
- Mappings:
Namespace Name Mixin selector official aLcdr;a(Lasl;)Zintermediary method_32355Lnet/minecraft/class_5635;method_32355(Lnet/minecraft/class_1297;)Znamed canWalkOnPowderSnowLnet/minecraft/block/PowderSnowBlock;canWalkOnPowderSnow(Lnet/minecraft/entity/Entity;)Z
-
tryDrainFluid
public ItemStack tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
- 指定者:
tryDrainFluid在接口中FluidDrainable- Mappings:
Namespace Name Mixin selector official cLbyv;c(Lbvs;Lgb;Lcjr;)Lbpr;intermediary method_9700Lnet/minecraft/class_2263;method_9700(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;named tryDrainFluidLnet/minecraft/block/FluidDrainable;tryDrainFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
public Optional<SoundEvent> getBucketFillSound()
Returns the sound played when filling a bucket with the fluid contained in this block.- 指定者:
getBucketFillSound在接口中FluidDrainable- 另请参阅:
Fluid.getBucketFillSound()- Mappings:
Namespace Name Mixin selector official cLbyv;c()Ljava/util/Optional;intermediary method_32351Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;named getBucketFillSoundLnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;
-
canPathfindThrough
public boolean canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
- 覆盖:
canPathfindThrough在类中AbstractBlock- Mappings:
Namespace Name Mixin selector official aLcjq;a(Lcjr;Lbuv;Lgb;Ldgb;)Zintermediary method_9516Lnet/minecraft/class_4970;method_9516(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_10;)Znamed canPathfindThroughLnet/minecraft/block/AbstractBlock;canPathfindThrough(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/ai/pathing/NavigationType;)Z
-
-