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,- ToggleableFeature
- Mappings:
- Namespace - Name - official - cvf- intermediary - net/minecraft/class_5635- named - net/minecraft/block/PowderSnowBlock
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.block.BlockBlock.NeighborGroupNested classes/interfaces inherited from class net.minecraft.block.AbstractBlockAbstractBlock.AbstractBlockState, AbstractBlock.ContextPredicate, AbstractBlock.Offsetter, AbstractBlock.OffsetType, AbstractBlock.Settings, AbstractBlock.TypedContextPredicate<A>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final VoxelShapeprivate static final floatprivate static final floatprivate static final doubleprivate static final floatprivate static final doubleprivate static final floatFields inherited from class net.minecraft.block.Blockfield_31022, field_31023, field_31024, field_31025, field_31035, FORCE_STATE, MOVED, NO_REDRAW, NOTIFY_ALL, NOTIFY_LISTENERS, NOTIFY_NEIGHBORS, REDRAW_ON_MAIN_THREAD, SKIP_DROPS, STATE_IDS, stateManagerFields inherited from class net.minecraft.block.AbstractBlockcollidable, DIRECTIONS, dynamicBounds, jumpVelocityMultiplier, lootTableId, randomTicks, requiredFeatures, resistance, settings, slipperiness, soundGroup, velocityMultiplierFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureFEATURE_ENABLED_REGISTRY_KEYS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanPathfindThrough(BlockState state, BlockView world, BlockPos pos, NavigationType type) Returns if an entity using navigation typetypecan navigate through this block.static booleancanWalkOnPowderSnow(Entity entity) Returns the sound played when filling a bucket with the fluid contained in this block.getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) getCullingShape(BlockState state, BlockView world, BlockPos pos) booleanisSideInvisible(BlockState state, BlockState stateFrom, Direction direction) voidonEntityCollision(BlockState state, World world, BlockPos pos, Entity entity) Called when the entity's collision box intersects the block.voidonLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.tryDrainFluid(WorldAccess world, BlockPos pos, BlockState state) Methods inherited from class net.minecraft.block.BlockafterBreak, appendProperties, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropExperienceWhenMined, dropStack, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getPlacementState, getRawIdFromState, getRegistryEntry, getShapesForStates, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getStateWithProperties, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTransparent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, spawnBreakParticles, toStringMethods inherited from class net.minecraft.block.AbstractBlockcalcBlockBreakingDelta, canBucketPlace, canPlaceAt, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getFluidState, getHardness, getLootTableId, getMaxHorizontalModelOffset, getOpacity, getOutlineShape, getRaycastShape, getRenderingSeed, getRenderType, getRequiredFeatures, getSidesShape, getStateForNeighborUpdate, getStrongRedstonePower, getVerticalModelOffsetMultiplier, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isCullingShapeFullCube, isShapeFullCube, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTickMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeatureisEnabled
- 
Field Details- 
field_31216private static final float field_31216- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcvf;a:F- intermediary - field_31216- Lnet/minecraft/class_5635;field_31216:F- named - field_31216- Lnet/minecraft/block/PowderSnowBlock;field_31216:F
 
- 
HORIZONTAL_MOVEMENT_MULTIPLIERprivate static final float HORIZONTAL_MOVEMENT_MULTIPLIER- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lcvf;b:F- intermediary - field_31217- Lnet/minecraft/class_5635;field_31217:F- named - HORIZONTAL_MOVEMENT_MULTIPLIER- Lnet/minecraft/block/PowderSnowBlock;HORIZONTAL_MOVEMENT_MULTIPLIER:F
 
- 
VERTICAL_MOVEMENT_MULTIPLIERprivate static final float VERTICAL_MOVEMENT_MULTIPLIER- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcvf;c:F- intermediary - field_31218- Lnet/minecraft/class_5635;field_31218:F- named - VERTICAL_MOVEMENT_MULTIPLIER- Lnet/minecraft/block/PowderSnowBlock;VERTICAL_MOVEMENT_MULTIPLIER:F
 
- 
field_31219private static final float field_31219- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - d- Lcvf;d:F- intermediary - field_31219- Lnet/minecraft/class_5635;field_31219:F- named - field_31219- Lnet/minecraft/block/PowderSnowBlock;field_31219:F
 
- 
FALLING_SHAPE- Mappings:
- Namespace - Name - Mixin selector - official - e- Lcvf;e:Lefb;- intermediary - field_31220- Lnet/minecraft/class_5635;field_31220:Lnet/minecraft/class_265;- named - FALLING_SHAPE- Lnet/minecraft/block/PowderSnowBlock;FALLING_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
 
- 
field_36189private static final double field_36189- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - f- Lcvf;f:D- intermediary - field_36189- Lnet/minecraft/class_5635;field_36189:D- named - field_36189- Lnet/minecraft/block/PowderSnowBlock;field_36189:D
 
- 
SMALL_FALL_SOUND_MAX_DISTANCEprivate static final double SMALL_FALL_SOUND_MAX_DISTANCE- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - g- Lcvf;g:D- intermediary - field_36190- Lnet/minecraft/class_5635;field_36190:D- named - SMALL_FALL_SOUND_MAX_DISTANCE- Lnet/minecraft/block/PowderSnowBlock;SMALL_FALL_SOUND_MAX_DISTANCE:D
 
 
- 
- 
Constructor Details- 
PowderSnowBlock- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Ldca;<init>(Ldca$d;)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:
- isSideInvisiblein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldca;a(Ldcb;Ldcb;Lha;)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:
- getCullingShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - f- Ldca;f(Ldcb;Lcls;Lgu;)Lefb;- 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;
 
- 
onEntityCollisionCalled when the entity's collision box intersects the block. Therefore, this method is not called for blocks with a collision; useBlock.onSteppedOn(net.minecraft.world.World, net.minecraft.util.math.BlockPos, net.minecraft.block.BlockState, net.minecraft.entity.Entity)for those blocks.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.Here are some examples: - CactusBlockdamages the entity.
- AbstractPressurePlateBlocktriggers.
- CobwebBlockslows the entity.
- EndPortalBlockteleports the entity.
- HopperBlockcollects the item entity.
 - Overrides:
- onEntityCollisionin class- AbstractBlock
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldca;a(Ldcb;Lcmm;Lgu;Lbfj;)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
 
- 
onLandedUponpublic void onLandedUpon(World world, BlockState state, BlockPos pos, Entity entity, float fallDistance) Called when the entity lands on the block.Default implementation deals fall damage to the entity. Blocks that increase or reduce fall damage (like HayBlock) should override this.FarmlandBlockoverrides this method to convert the block to dirt.This method is called on both the logical client and logical server, so take caution when overriding this method. The logical side can be checked using World.isClient.- Overrides:
- onLandedUponin class- Block
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcpn;a(Lcmm;Ldcb;Lgu;Lbfj;F)V- intermediary - method_9554- Lnet/minecraft/class_2248;method_9554(Lnet/minecraft/class_1937;Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_1297;F)V- named - onLandedUpon- Lnet/minecraft/block/Block;onLandedUpon(Lnet/minecraft/world/World;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;F)V
 
- 
getCollisionShapepublic VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCollisionShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - c- Ldca;c(Ldcb;Lcls;Lgu;Leen;)Lefb;- 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;
 
- 
getCameraCollisionShapepublic VoxelShape getCameraCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context) - Overrides:
- getCameraCollisionShapein class- AbstractBlock
- Mappings:
- Namespace - Name - Mixin selector - official - b- Ldca;b(Ldcb;Lcls;Lgu;Leen;)Lefb;- 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;
 
- 
canWalkOnPowderSnow- Mappings:
- Namespace - Name - Mixin selector - official - a- Lcvf;a(Lbfj;)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:
- tryDrainFluidin interface- FluidDrainable
- Mappings:
- Namespace - Name - Mixin selector - official - c- Lcpt;c(Lcmn;Lgu;Ldcb;)Lcfz;- 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;
 
- 
getBucketFillSoundReturns the sound played when filling a bucket with the fluid contained in this block.- Specified by:
- getBucketFillSoundin interface- FluidDrainable
- Returns:
- the sound played when filling a bucket with the fluid contained in this block
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - am_- Lcpt;am_()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;
 
 
-