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
-
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, dynamicBounds, FACINGS, 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)VoxelShapegetCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)VoxelShapegetCullingShape(BlockState state, BlockView world, BlockPos pos)Optional<SoundEvent>getDrainSound()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, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, 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, 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
-
-
Method Details
-
isSideInvisible
@Environment(CLIENT) public boolean isSideInvisible(BlockState state, BlockState stateFrom, Direction direction)- Overrides:
isSideInvisiblein classAbstractBlock
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock
-
onEntityCollision
- Overrides:
onEntityCollisionin classAbstractBlock
-
getCollisionShape
public VoxelShape getCollisionShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getCollisionShapein classAbstractBlock
-
getVisualShape
public VoxelShape getVisualShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getVisualShapein classAbstractBlock
-
spawnParticles
-
canWalkOnPowderSnow
-
tryDrainFluid
- Specified by:
tryDrainFluidin interfaceFluidDrainable
-
getDrainSound
- Specified by:
getDrainSoundin interfaceFluidDrainable
-