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 Modifier and Type Class Description (package private) static classPointedDripstoneBlock.DripTypeNested 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
-
method_32901
-
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
-
method_32772
public static void method_32772(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos, float float2) -
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
-
method_32913
public float method_32913()- Overrides:
method_32913in classAbstractBlock
-
onDestroyedOnLanding
- Specified by:
onDestroyedOnLandingin interfaceLandingBlock
-
method_32898
- Specified by:
method_32898in interfaceLandingBlock
-
method_32897
- Specified by:
method_32897in interfaceLandingBlock
-
method_32773
-
method_32900
-
method_32771
private static void method_32771(BlockState blockState, ServerWorld serverWorld, BlockPos blockPos) -
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 blockPos, BlockState blockState, PointedDripstoneBlock.DripType dripType) -
method_32782
@Nullable private static BlockPos method_32782(BlockState blockState, WorldAccess worldAccess, BlockPos blockPos, int int2) -
method_32777
-
method_32770
-
method_32783
-
getSupportingPos
@Nullable private static BlockPos getSupportingPos(World world, BlockPos pos, BlockState state, int int2) -
method_32781
-
hasTipThickness
-
isPointingDown
-
method_32778
-
isPointedDripstone
-
method_32769
-
method_32767
-
getDripFluid
-
getDripType
@Nullable private static PointedDripstoneBlock.DripType getDripType(World world, BlockPos pos, BlockState state)
-