net.minecraft.block

public class DecoratedPotBlock

extends BlockWithEntity implements Waterloggable

All mapped superinterfaces:

ToggleableFeature, ItemConvertible, BlockEntityProvider, Waterloggable, FluidDrainable, FluidFillable

net.minecraft.world.level.block.DecoratedPotBlock
net.minecraft.class_8168
net.minecraft.block.DecoratedPotBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<DecoratedPotBlock>
CODEC
field_46333
CODEC
public static final Identifier
SHERDS_DYNAMIC_DROP_ID
field_43236
SHERDS_DYNAMIC_DROP_ID
public static final EnumProperty<Direction>
HORIZONTAL_FACING
field_42755
FACING
public static final BooleanProperty
CRACKED
field_43237
CRACKED
public static final BooleanProperty
WATERLOGGED
field_42756
WATERLOGGED
private static final VoxelShape
SHAPE
field_42754
SHAPE

Constructor summary

ModifierConstructor
protected (AbstractBlock$Settings properties)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<DecoratedPotBlock>
codec()
method_53969()
getCodec()
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 BlockState
getStateForPlacement(BlockPlaceContext context)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
protected ActionResult
useItemOn(ItemStack itemStack, BlockState state, Level level, BlockPos pos, Player player, InteractionHand hand, BlockHitResult hitResult)
method_55765(class_1799 arg0, class_2680 arg1, class_1937 arg2, class_2338 arg3, class_1657 arg4, class_1268 arg5, class_3965 arg6)
onUseWithItem(ItemStack arg0, BlockState arg1, World arg2, BlockPos arg3, PlayerEntity arg4, Hand arg5, BlockHitResult arg6)
protected ActionResult
useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
protected boolean
isPathfindable(BlockState state, PathComputationType type)
method_9516(class_2680 arg0, class_10 arg1)
canPathfindThrough(BlockState arg0, NavigationType arg1)
protected 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)
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)
public BlockEntity
newBlockEntity(BlockPos worldPosition, BlockState blockState)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
protected void
affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected List<ItemStack>
getDrops(BlockState state, LootParams$Builder params)
method_9560(class_2680 arg0, class_8567$class_8568 arg1)
getDroppedStacks(BlockState arg0, LootWorldContext$Builder arg1)
public BlockState
playerWillDestroy(Level level, BlockPos pos, BlockState state, Player player)
method_9576(class_1937 arg0, class_2338 arg1, class_2680 arg2, class_1657 arg3)
onBreak(World arg0, BlockPos arg1, BlockState arg2, PlayerEntity arg3)
protected FluidState
getFluidState(BlockState state)
method_9545(class_2680 arg0)
getFluidState(BlockState arg0)
protected BlockSoundGroup
getSoundType(BlockState state)
method_9573(class_2680 arg0)
getSoundGroup(BlockState arg0)
protected void
onProjectileHit(Level level, BlockState state, BlockHitResult blockHit, Projectile projectile)
method_19286(class_1937 arg0, class_2680 arg1, class_3965 arg2, class_1676 arg3)
onProjectileHit(World arg0, BlockState arg1, BlockHitResult arg2, ProjectileEntity arg3)
protected ItemStack
getCloneItemStack(LevelReader level, BlockPos pos, BlockState state, boolean includeData)
method_9574(class_4538 arg0, class_2338 arg1, class_2680 arg2, boolean arg3)
getPickStack(WorldView arg0, BlockPos arg1, BlockState arg2, boolean arg3)
protected boolean
hasAnalogOutputSignal(BlockState state)
method_9498(class_2680 arg0)
hasComparatorOutput(BlockState arg0)
protected int
getAnalogOutputSignal(BlockState state, Level level, BlockPos pos, Direction direction)
method_9572(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2350 arg3)
getComparatorOutput(BlockState arg0, World arg1, BlockPos arg2, Direction arg3)
protected BlockState
rotate(BlockState state, Rotation rotation)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
mirror(BlockState state, Mirror mirror)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
private static void
lambda$getDrops$0(DecoratedPotBlockEntity arg0, Consumer arg1)
method_49815(class_8172 arg0, Consumer arg1)
method_49815(DecoratedPotBlockEntity arg0, Consumer lootConsumer)