Package net.minecraft.block
Class SeaPickleBlock
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.block.PlantBlock
net.minecraft.block.SeaPickleBlock
- All Implemented Interfaces:
Fertilizable
,FluidDrainable
,FluidFillable
,Waterloggable
,ItemConvertible
public class SeaPickleBlock extends PlantBlock implements Fertilizable, 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 protected static VoxelShape
FOUR_PICKLES_SHAPE
protected static VoxelShape
ONE_PICKLE_SHAPE
static IntProperty
PICKLES
protected static VoxelShape
THREE_PICKLES_SHAPE
protected static VoxelShape
TWO_PICKLES_SHAPE
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 Modifier Constructor Description protected
SeaPickleBlock(AbstractBlock.Settings settings)
-
Method Summary
Methods inherited from class net.minecraft.block.PlantBlock
isTranslucent
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, is, isFaceFullSquare, isIn, isShapeFullCube, onBreak, onBroken, onDestroyedByExplosion, onEntityLand, onLandedUpon, onPlaced, onSteppedOn, postProcessState, pushEntitiesUpBeforeBlockChange, rainTick, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toString
Methods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMaterialColor, getDroppedStacks, getLootTableId, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasBlockEntity, hasComparatorOutput, hasSidedTransparency, isSideInvisible, mirror, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, rotate, scheduledTick
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, tryDrainFluid, tryFillWithFluid
-
Field Details
-
PICKLES
-
WATERLOGGED
-
ONE_PICKLE_SHAPE
-
TWO_PICKLES_SHAPE
-
THREE_PICKLES_SHAPE
-
FOUR_PICKLES_SHAPE
-
-
Constructor Details
-
SeaPickleBlock
-
-
Method Details
-
getPlacementState
- Overrides:
getPlacementState
in classBlock
-
isDry
-
canPlantOnTop
- Overrides:
canPlantOnTop
in classPlantBlock
-
canPlaceAt
- Overrides:
canPlaceAt
in classPlantBlock
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState state, Direction direction, BlockState newState, WorldAccess world, BlockPos pos, BlockPos posFrom)- Overrides:
getStateForNeighborUpdate
in classPlantBlock
-
canReplace
- Overrides:
canReplace
in classAbstractBlock
-
getOutlineShape
public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos, ShapeContext context)- Overrides:
getOutlineShape
in classAbstractBlock
-
getFluidState
- Overrides:
getFluidState
in classAbstractBlock
-
appendProperties
- Overrides:
appendProperties
in classBlock
-
isFertilizable
- Specified by:
isFertilizable
in interfaceFertilizable
-
canGrow
- Specified by:
canGrow
in interfaceFertilizable
-
grow
- Specified by:
grow
in interfaceFertilizable
-