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.NeighborGroupNested 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 VoxelShapeBASE_SHAPEprivate static VoxelShapeDOWN_TIP_SHAPEprivate static VoxelShapeFRUSTUM_SHAPEprivate static VoxelShapeMIDDLE_SHAPEstatic EnumProperty<Thickness>THICKNESSprivate static VoxelShapeTIP_MERGE_SHAPEprivate static VoxelShapeUP_TIP_SHAPEstatic DirectionPropertyVERTICAL_DIRECTIONstatic BooleanPropertyWATERLOGGEDFields 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 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, toStringMethods 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, rotateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.LandingBlock
onLandingMethods 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:
appendPropertiesin classBlock
-
canPlaceAt
- Overrides:
canPlaceAtin classAbstractBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)- Overrides:
getStateForNeighborUpdatein classAbstractBlock
-
getFluidBlockState
-
onProjectileHit
public void onProjectileHit(World world, BlockState state, BlockHitResult hit, ProjectileEntity projectile)- Overrides:
onProjectileHitin classAbstractBlock
-
onLandedUpon
- Overrides:
onLandedUponin classBlock
-
randomDisplayTick
@Environment(CLIENT) public void randomDisplayTick(BlockState state, World world, BlockPos pos, Random random)- Overrides:
randomDisplayTickin classBlock
-
scheduledTick
- Overrides:
scheduledTickin classAbstractBlock
-
randomTick
- Overrides:
randomTickin classAbstractBlock
-
dripTick
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classAbstractBlock
-
getPlacementState
- Overrides:
getPlacementStatein classBlock
-
getFluidState
- Overrides:
getFluidStatein classAbstractBlock
-
getCullingShape
- Overrides:
getCullingShapein classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShapein classAbstractBlock
-
getOffsetType
- Overrides:
getOffsetTypein classAbstractBlock
-
getMaxModelOffset
public float getMaxModelOffset()- Overrides:
getMaxModelOffsetin classAbstractBlock
-
onDestroyedOnLanding
- Specified by:
onDestroyedOnLandingin interfaceLandingBlock
-
getDamageSource
- Specified by:
getDamageSourcein interfaceLandingBlock
-
getEntityPredicate
- Specified by:
getEntityPredicatein 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)
-