net.minecraft.world.level.block

public class FarmBlock

extends Block

All mapped superinterfaces:

ItemLike

bwm
net.minecraft.world.level.block.FarmBlock
net.minecraft.class_2344
net.minecraft.block.FarmlandBlock
net.minecraft.block.FarmlandBlock
net.minecraft.server.v1_16_R2.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 (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public BlockState
a(cee arg0, gc arg1, cee arg2, brv arg3, fx arg4, fx 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, WorldAccess 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(cee arg0, brw arg1, fx arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
func_196260_a(BlockState arg0, IWorldReader arg1, BlockPos arg2)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public BlockState
a(bnv arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public boolean
c_(cee arg0)
useShapeForLightOcclusion(BlockState arg0)
method_9526(class_2680 arg0)
hasSidedTransparency(BlockState arg0)
func_220074_n(BlockState arg0)
public VoxelShape
b(cee arg0, bqz arg1, fx arg2, dcp 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, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public void
a(cee arg0, aag arg1, fx arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
b(cee arg0, aag arg1, fx arg2, Random arg3)
randomTick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9514(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
randomTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
func_225542_b_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
a(bru arg0, fx arg1, apx 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(cee arg0, bru arg1, fx 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(bqz arg0, fx 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(brw arg0, fx arg1)
isNearWater(LevelReader arg0, BlockPos arg1)
method_10126(class_4538 arg0, class_2338 arg1)
isWaterNearby(WorldView world, BlockPos pos)
func_176530_e(IWorldReader arg0, BlockPos arg1)
protected void
a(cef$a<bul, cee> 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(cee arg0, bqz arg1, fx arg2, cxb arg3)
isPathfindable(BlockState arg0, BlockGetter arg1, BlockPos arg2, PathComputationType arg3)
method_9516(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_10 arg3)
canPathfindThrough(BlockState arg0, BlockView arg1, BlockPos arg2, NavigationType arg3)
func_196266_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, PathType arg3)