Package net.minecraft
Class class_5777
java.lang.Object
net.minecraft.block.AbstractBlock
net.minecraft.block.Block
net.minecraft.class_5778
net.minecraft.class_5777
- All Implemented Interfaces:
Fertilizable,FluidDrainable,FluidFillable,Waterloggable,ItemConvertible
public class class_5777 extends class_5778 implements Fertilizable, 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 BooleanPropertyfield_28412Fields 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 class_5777(AbstractBlock.Settings settings) -
Method Summary
Modifier and Type Method Description protected voidappendProperties(StateManager.Builder<Block,BlockState> builder)booleancanGrow(World world, Random random, BlockPos blockPos, BlockState blockState)booleancanReplace(BlockState blockState, ItemPlacementContext itemPlacementContext)FluidStategetFluidState(BlockState blockState)BlockStategetStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)voidgrow(ServerWorld serverWorld, Random random, BlockPos blockPos, BlockState blockState)booleanisFertilizable(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool)Methods inherited from class net.minecraft.class_5778
canPlaceAt, getOutlineShape, getPlacementState, method_33362, method_33363, method_33364, method_33369, method_33374, method_33375, mirror, rotateMethods 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, onLandedUpon, onPlaced, onSteppedOn, postProcessState, precipitationTick, pushEntitiesUpBeforeBlockChange, randomDisplayTick, replace, replace, setDefaultState, shouldDrawSide, shouldDropItemsOnExplosion, sideCoversSmallSquare, toStringMethods inherited from class net.minecraft.block.AbstractBlock
calcBlockBreakingDelta, canBucketPlace, canPathfindThrough, createScreenHandlerFactory, emitsRedstonePower, getAmbientOcclusionLightLevel, getCollisionShape, getComparatorOutput, getCullingShape, getDefaultMapColor, getDroppedStacks, getLootTableId, getMaxModelOffset, getOffsetType, getOpacity, getPistonBehavior, getRaycastShape, getRenderingSeed, getRenderType, getSidesShape, getStrongRedstonePower, getVisualShape, getWeakRedstonePower, hasComparatorOutput, hasSidedTransparency, isSideInvisible, neighborUpdate, onBlockAdded, onBlockBreakStart, onEntityCollision, onProjectileHit, onStacksDropped, onStateReplaced, onSyncedBlockEvent, onUse, prepare, randomTick, scheduledTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.block.Waterloggable
canFillWithFluid, getDrainSound, tryDrainFluid, tryFillWithFluid
-
Field Details
-
field_28412
-
-
Constructor Details
-
class_5777
-
-
Method Details
-
appendProperties
- Overrides:
appendPropertiesin classclass_5778
-
getStateForNeighborUpdate
public BlockState getStateForNeighborUpdate(BlockState blockState, Direction direction, BlockState blockState2, WorldAccess worldAccess, BlockPos blockPos, BlockPos blockPos2)- Overrides:
getStateForNeighborUpdatein classclass_5778
-
canReplace
- Overrides:
canReplacein classclass_5778
-
isFertilizable
public boolean isFertilizable(BlockView blockView, BlockPos blockPos, BlockState blockState, boolean bool)- Specified by:
isFertilizablein interfaceFertilizable
-
canGrow
- Specified by:
canGrowin interfaceFertilizable
-
grow
- Specified by:
growin interfaceFertilizable
-
getFluidState
- Overrides:
getFluidStatein classAbstractBlock
-