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 cbuintermediary net/minecraft/class_5635named net/minecraft/block/PowderSnowBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.NeighborGroupNested 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, stateManagerFields 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 booleancanWalkOnPowderSnow(Entity entity)Optional<SoundEvent>getBucketFillSound()Returns the sound played when filling a bucket with the fluid contained in this block.VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetCullingShape(BlockState state, BlockView world, BlockPos pos)VoxelShapegetVisualShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)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)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, toStringMethods 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;)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
-
-
Method Details
-
isSideInvisible
@Environment(CLIENT) public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)- Overrides:
isSideInvisiblein classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lcht;Lgc;)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
- Overrides:
getCullingShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official a_Lchs;a_(Lcht;Lbsz;Lfx;)Ldjn;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
- Overrides:
onEntityCollisionin classAbstractBlock- Mappings:
Namespace Name Mixin selector official aLchs;a(Lcht;Lbtv;Lfx;Laqv;)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)- Overrides:
getCollisionShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official cLchs;c(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;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;
-
getVisualShape
public VoxelShape getVisualShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getVisualShapein classAbstractBlock- Mappings:
Namespace Name Mixin selector official bLchs;b(Lcht;Lbsz;Lfx;Ldiz;)Ldjn;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 getVisualShapeLnet/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 aLcbu;a(Lbtv;Ldiu;)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
- Mappings:
Namespace Name Mixin selector official aLcbu;a(Laqv;)Zintermediary method_32355Lnet/minecraft/class_5635;method_32355(Lnet/minecraft/class_1297;)Znamed canWalkOnPowderSnowLnet/minecraft/block/PowderSnowBlock;canWalkOnPowderSnow(Lnet/minecraft/entity/Entity;)Z
-
tryDrainFluid
- Specified by:
tryDrainFluidin interfaceFluidDrainable- Mappings:
Namespace Name Mixin selector official bLbwz;b(Lbtw;Lfx;Lcht;)Lbnv;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
Returns the sound played when filling a bucket with the fluid contained in this block.- Specified by:
getBucketFillSoundin interfaceFluidDrainable- See Also:
Fluid.getBucketFillSound()- Mappings:
Namespace Name Mixin selector official cLbwz;c()Ljava/util/Optional;intermediary method_32351Lnet/minecraft/class_2263;method_32351()Ljava/util/Optional;named getBucketFillSoundLnet/minecraft/block/FluidDrainable;getBucketFillSound()Ljava/util/Optional;
-