net.minecraft.world.level.block

public class FarmBlock

extends Block

All mapped superinterfaces:

ItemLike

bot
net.minecraft.world.level.block.FarmBlock
net.minecraft.class_2344
net.minecraft.block.FarmlandBlock
net.minecraft.block.FarmlandBlock
net.minecraft.server.v1_14_R1.BlockSoil

Field summary

Modifier and TypeField
public static final IntegerProperty
a
MOISTURE
field_11009
MOISTURE
field_176531_a
MOISTURE
protected static final VoxelShape
b
SHAPE
field_11010
SHAPE
field_196432_b

Constructor summary

ModifierConstructor
protected (Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockState
a(bvt arg0, fb arg1, bvt arg2, bhs arg3, ew arg4, ew arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(bvt arg0, bhu arg1, ew arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_1941 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, CollisionView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public boolean
n(bvt arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public void
b(bvt arg0, bhr arg1, ew arg2, Random arg3)
tick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, World arg1, BlockPosition arg2, Random arg3)
public void
a(bhr arg0, ew arg1, aio arg2, float arg3)
fallOn(Level arg0, BlockPos arg1, Entity arg2, float arg3)
method_9554(class_1937 arg0, class_2338 arg1, class_1297 arg2, float arg3)
onLandedUpon(World arg0, BlockPos arg1, Entity arg2, float arg3)
func_180658_a(World arg0, BlockPos arg1, Entity arg2, float arg3)
fallOn(World arg0, BlockPosition arg1, Entity arg2, float arg3)
public static void
d(bvt arg0, bhr arg1, ew arg2)
turnToDirt(BlockState arg0, Level arg1, BlockPos arg2)
method_10125(class_2680 arg0, class_1937 arg1, class_2338 arg2)
setToDirt(BlockState state, World world, BlockPos pos)
func_199610_d(BlockState arg0, World arg1, BlockPos arg2)
fade(IBlockData arg0, World arg1, BlockPosition arg2)
private static boolean
a(bhb arg0, ew arg1)
isUnderCrops(BlockGetter arg0, BlockPos arg1)
method_10124(class_1922 arg0, class_2338 arg1)
hasCrop(BlockView world, BlockPos pos)
func_176529_d(IBlockReader arg0, BlockPos arg1)
private static boolean
a(bhu arg0, ew arg1)
isNearWater(LevelReader arg0, BlockPos arg1)
method_10126(class_1941 arg0, class_2338 arg1)
isWaterNearby(CollisionView world, BlockPos pos)
func_176530_e(IWorldReader arg0, BlockPos arg1)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
public boolean
a(bvt arg0, bhb arg1, ew arg2, cns arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPlaceAtSide(BlockState arg0, BlockView arg1, BlockPos arg2, BlockPlacementEnvironment arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)