Package net.minecraft.block
Class PowderSnowBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PowderSnowBlock
- All Implemented Interfaces:
FluidDrainable
,ItemConvertible
public class PowderSnowBlock extends Block implements FluidDrainable
- Mappings:
Namespace Name official cdr
intermediary net/minecraft/class_5635
named net/minecraft/block/PowderSnowBlock
-
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.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
-
Field Summary
Fields Modifier and Type Field Description private static int
field_31216
private static float
field_31217
private static float
field_31218
private static float
field_31219
private static VoxelShape
field_31220
Fields inherited from class 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
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description PowderSnowBlock(AbstractBlock.Settings settings)
-
Method Summary
Modifier and Type Method Description boolean
canPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type)
static boolean
canWalkOnPowderSnow(Entity entity)
Optional<SoundEvent>
getBucketFillSound()
Returns the sound played when filling a bucket with the fluid contained in this block.VoxelShape
getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
getCullingShape(BlockState state, BlockView world, BlockPos pos)
boolean
isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)
void
onEntityCollision(BlockState state, World world, BlockPos pos, Entity entity)
static void
spawnParticles(World world, Vec3d pos)
ItemStack
tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state)
Methods inherited from class 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
Methods inherited from class 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 Details
-
field_31216
private static final int field_31216- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lcdr;a:I
intermediary field_31216
Lnet/minecraft/class_5635;field_31216:I
named field_31216
Lnet/minecraft/block/PowderSnowBlock;field_31216:I
-
field_31217
private static final float field_31217- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Lcdr;b:F
intermediary field_31217
Lnet/minecraft/class_5635;field_31217:F
named field_31217
Lnet/minecraft/block/PowderSnowBlock;field_31217:F
-
field_31218
private static final float field_31218- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Lcdr;c:F
intermediary field_31218
Lnet/minecraft/class_5635;field_31218:F
named field_31218
Lnet/minecraft/block/PowderSnowBlock;field_31218:F
-
field_31219
private static final float field_31219- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Lcdr;d:F
intermediary field_31219
Lnet/minecraft/class_5635;field_31219:F
named field_31219
Lnet/minecraft/block/PowderSnowBlock;field_31219:F
-
field_31220
- Mappings:
Namespace Name Mixin selector official e
Lcdr;e:Ldmr;
intermediary field_31220
Lnet/minecraft/class_5635;field_31220:Lnet/minecraft/class_265;
named field_31220
Lnet/minecraft/block/PowderSnowBlock;field_31220:Lnet/minecraft/util/shape/VoxelShape;
-
-
Constructor Details
-
PowderSnowBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lcjq;<init>(Lcjq$c;)V
intermediary <init>
Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
named <init>
Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
-
-
Method Details
-
isSideInvisible
- Overrides:
isSideInvisible
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcjq;a(Lcjr;Lcjr;Lgg;)Z
intermediary method_9522
Lnet/minecraft/class_4970;method_9522(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;)Z
named isSideInvisible
Lnet/minecraft/block/AbstractBlock;isSideInvisible(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;)Z
-
getCullingShape
- Overrides:
getCullingShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a_
Lcjq;a_(Lcjr;Lbuv;Lgb;)Ldmr;
intermediary method_9571
Lnet/minecraft/class_4970;method_9571(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Lnet/minecraft/class_265;
named getCullingShape
Lnet/minecraft/block/AbstractBlock;getCullingShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shape/VoxelShape;
-
onEntityCollision
- Overrides:
onEntityCollision
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lcjq;a(Lcjr;Lbvr;Lgb;Lasl;)V
intermediary method_9548
Lnet/minecraft/class_4970;method_9548(Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;)V
named onEntityCollision
Lnet/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)- Overrides:
getCollisionShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official c
Lcjq;c(Lcjr;Lbuv;Lgb;Ldmd;)Ldmr;
intermediary method_9549
Lnet/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 getCollisionShape
Lnet/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)- Overrides:
getCameraCollisionShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official b
Lcjq;b(Lcjr;Lbuv;Lgb;Ldmd;)Ldmr;
intermediary method_26159
Lnet/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 getCameraCollisionShape
Lnet/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
- Mappings:
Namespace Name Mixin selector official a
Lcdr;a(Lbvr;Ldly;)V
intermediary method_32356
Lnet/minecraft/class_5635;method_32356(Lnet/minecraft/class_1937;Lnet/minecraft/class_243;)V
named spawnParticles
Lnet/minecraft/block/PowderSnowBlock;spawnParticles(Lnet/minecraft/world/World;Lnet/minecraft/util/math/Vec3d;)V
-
canWalkOnPowderSnow
- Mappings:
Namespace Name Mixin selector official a
Lcdr;a(Lasl;)Z
intermediary method_32355
Lnet/minecraft/class_5635;method_32355(Lnet/minecraft/class_1297;)Z
named canWalkOnPowderSnow
Lnet/minecraft/block/PowderSnowBlock;canWalkOnPowderSnow(Lnet/minecraft/entity/Entity;)Z
-
tryDrainFluid
- Specified by:
tryDrainFluid
in interfaceFluidDrainable
- Mappings:
Namespace Name Mixin selector official c
Lbyv;c(Lbvs;Lgb;Lcjr;)Lbpr;
intermediary method_9700
Lnet/minecraft/class_2263;method_9700(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_1799;
named tryDrainFluid
Lnet/minecraft/block/FluidDrainable;tryDrainFluid(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/item/ItemStack;
-
getBucketFillSound
Returns the sound played when filling a bucket with the fluid contained in this block.- Specified by:
getBucketFillSound
in interfaceFluidDrainable
- See Also:
Fluid.getBucketFillSound()
- Mappings:
Namespace Name Mixin selector official c
Lbyv;c()Ljava/util/Optional;
intermediary method_32351
Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;
named getBucketFillSound
Lnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;
-