Package net.minecraft.block
Class PointedDripstoneBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PointedDripstoneBlock
- All Implemented Interfaces:
FluidDrainable
,FluidFillable
,LandingBlock
,Waterloggable
,ItemConvertible
public class PointedDripstoneBlock extends Block implements LandingBlock, Waterloggable
-
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 VoxelShape
BASE_SHAPE
private static VoxelShape
DOWN_TIP_SHAPE
private static VoxelShape
FRUSTUM_SHAPE
private static VoxelShape
MIDDLE_SHAPE
static EnumProperty<Thickness>
THICKNESS
private static VoxelShape
TIP_MERGE_SHAPE
private static VoxelShape
UP_TIP_SHAPE
static DirectionProperty
VERTICAL_DIRECTION
static BooleanProperty
WATERLOGGED
Fields inherited from class net.minecraft.block.Block
LOGGER, STATE_IDS, stateManager
Fields inherited from class net.minecraft.block.AbstractBlock
collidable, dynamicBounds, FACINGS, jumpVelocityMultiplier, lootTableId, material, randomTicks, resistance, settings, slipperiness, soundGroup, velocityMultiplier
-
Constructor Summary
Constructors Constructor Description PointedDripstoneBlock(AbstractBlock.Settings settings)
-
Method Summary
Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, afterBreak, appendTooltip, asBlock, asItem, canMobSpawnInside, cannotConnect, createCuboidShape, dropExperience, dropStack, dropStacks, dropStacks, dropStacks, getBlastResistance, getBlockFromItem, getDefaultState, getDroppedStacks, getDroppedStacks, getJumpVelocityMultiplier, getName, getPickStack, getRawIdFromState, getSlipperiness, getSoundGroup, getStateFromRawId, getStateManager, getTranslationKey, getVelocityMultiplier, hasDynamicBounds, hasRandomTicks, hasTopRim, isFaceFullSquare, isShapeFullCube, isTranslucent, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, canReplace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getDefaultMapColor, getDroppedStacks, getLootTableId, getOpacity, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, rotate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.LandingBlock
onLanding
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getDrainSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
VERTICAL_DIRECTION
-
THICKNESS
-
WATERLOGGED
-
TIP_MERGE_SHAPE
-
UP_TIP_SHAPE
-
DOWN_TIP_SHAPE
-
BASE_SHAPE
-
FRUSTUM_SHAPE
-
MIDDLE_SHAPE
-
-
Constructor Details
-
PointedDripstoneBlock
-
-
Method Details
-
appendProperties
- Overrides:
appendProperties
in classBlock
-
canPlaceAt
- Overrides:
canPlaceAt
in classAbstractBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)- Overrides:
getStateForNeighborUpdate
in classAbstractBlock
-
getFluidBlockState
-
onProjectileHit
public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)- Overrides:
onProjectileHit
in classAbstractBlock
-
onLandedUpon
- Overrides:
onLandedUpon
in classBlock
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)- Overrides:
randomDisplayTick
in classBlock
-
scheduledTick
- Overrides:
scheduledTick
in classAbstractBlock
-
randomTick
- Overrides:
randomTick
in classAbstractBlock
-
dripTick
-
getPistonBehavior
- Overrides:
getPistonBehavior
in classAbstractBlock
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
-
getFluidState
- Overrides:
getFluidState
in classAbstractBlock
-
getCullingShape
- Overrides:
getCullingShape
in classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShape
in classAbstractBlock
-
getOffsetType
- Overrides:
getOffsetType
in classAbstractBlock
-
getMaxModelOffset
public float getMaxModelOffset()- Overrides:
getMaxModelOffset
in classAbstractBlock
-
onDestroyedOnLanding
- Specified by:
onDestroyedOnLanding
in interfaceLandingBlock
-
getDamageSource
- Specified by:
getDamageSource
in interfaceLandingBlock
-
getEntityPredicate
- Specified by:
getEntityPredicate
in interfaceLandingBlock
-
scheduleFall
-
method_32900
-
spawnFallingBlock
-
method_32899
@Environment(CLIENT) public static void method_32899(World world, BlockPos blockPos, BlockState blockState) -
createParticle
@Environment(CLIENT) private static void createParticle(World world, BlockPos pos, BlockState state, Fluid fluid) -
method_32782
@Nullable private static BlockPos method_32782(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, int int2) -
getDirectionToPlaceAt
-
getThickness
-
canDrip
-
getSupportingPos
private static Optional<BlockPos> getSupportingPos(World world, BlockPos pos, BlockState state, int int2) -
canPlaceAtWithDirection
-
isTip
-
isPointingDown
-
isHeldByPointedDripstone
-
isPointedDripstoneFacingDirection
-
getCauldronPos
-
getDripPos
-
getDripFluid
-
method_33276
-
method_33273
-
method_33271
-
method_33272
private static Optional<BlockPos> method_33272(WorldAccess worldAccess, BlockPos blockPos, Direction.AxisDirection axisDirection, Predicate<BlockState> predicate, Predicate<BlockState> predicate2, int int2)
-