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 cbu
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 inherited from class net.minecraft.block.Block
LOGGER, 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 static boolean
canWalkOnPowderSnow(Entity entity)
Optional<SoundEvent>
getBucketFillSound()
Returns the sound played when filling a bucket with the fluid contained in this block.VoxelShape
getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
VoxelShape
getCullingShape(BlockState state, BlockView world, BlockPos pos)
VoxelShape
getVisualShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)
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, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, method_33614, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, 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
-
Constructor Details
-
PowderSnowBlock
- Mappings:
Namespace Name Mixin selector official <init>
Lchs;<init>(Lchs$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
@Environment(CLIENT) public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)- Overrides:
isSideInvisible
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official a
Lchs;a(Lcht;Lcht;Lgc;)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_
Lchs;a_(Lcht;Lbsz;Lfx;)Ldjn;
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
Lchs;a(Lcht;Lbtv;Lfx;Laqv;)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
Lchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
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;
-
getVisualShape
public VoxelShape getVisualShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getVisualShape
in classAbstractBlock
- Mappings:
Namespace Name Mixin selector official b
Lchs;b(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;
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 getVisualShape
Lnet/minecraft/block/AbstractBlock;getVisualShape(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
Lcbu;a(Lbtv;Ldiu;)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
Lcbu;a(Laqv;)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 b
Lbwz;b(Lbtw;Lfx;Lcht;)Lbnv;
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
Lbwz;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;
-