net.minecraft.block

public class DriedGhastBlock

extends HorizontalFacingBlock implements Waterloggable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.DriedGhastBlock
net.minecraft.class_11198
net.minecraft.block.DriedGhastBlock

Field summary

Modifier and TypeField
public static final int
MAX_HYDRATION_LEVEL
field_59754
MAX_HYDRATION
public static final IntProperty
HYDRATION_LEVEL
field_59755
HYDRATION
public static final BooleanProperty
WATERLOGGED
field_59756
WATERLOGGED
public static final int
HYDRATION_TICK_DELAY
field_59757
HYDRATION_TICK_TIME
private static final VoxelShape
SHAPE
field_59758
SHAPE

Constructor summary

ModifierConstructor
public (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
protected void
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> builder)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
protected BlockState
updateShape(BlockState state, LevelReader level, ScheduledTickAccess ticks, BlockPos pos, Direction directionToNeighbour, BlockPos neighbourPos, BlockState neighbourState, RandomSource random)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
public VoxelShape
getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
public int
getHydrationLevel(BlockState state)
method_70748(class_2680 arg0)
getHydration(BlockState state)
private boolean
isReadyToSpawn(BlockState state)
method_70749(class_2680 arg0)
isFullyHydrated(BlockState state)
protected void
tick(BlockState state, ServerLevel level, BlockPos position, RandomSource random)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
private void
tickWaterlogged(BlockState state, ServerLevel level, BlockPos position, RandomSource random)
method_70747(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
tickHydration(BlockState state, ServerWorld world, BlockPos pos, Random random)
private void
spawnGhastling(ServerLevel level, BlockPos position, BlockState state)
method_70746(class_3218 arg0, class_2338 arg1, class_2680 arg2)
spawnGhastling(ServerWorld world, BlockPos pos, BlockState state)
public void
animateTick(BlockState state, Level level, BlockPos pos, RandomSource random)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
protected void
randomTick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected FluidState
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
public boolean
placeLiquid(LevelAccessor level, BlockPos pos, BlockState state, FluidState fluidState)
method_10311(class_1936 arg0, class_2338 arg1, class_2680 arg2, class_3610 arg3)
tryFillWithFluid(WorldAccess arg0, BlockPos arg1, BlockState arg2, FluidState arg3)
public void
setPlacedBy(Level level, BlockPos pos, BlockState state, LivingEntity by, ItemStack itemStack)
method_9567(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1309 arg3, class_1799 arg4)
onPlaced(World arg0, BlockPos arg1, BlockState arg2, LivingEntity arg3, ItemStack arg4)
public boolean
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)