net.minecraft.world.level.block

public class GrassBlock

extends SpreadingSnowyDirtBlock implements BonemealableBlock

All mapped superinterfaces:

FeatureElement, ItemLike, BonemealableBlock

dab
net.minecraft.world.level.block.GrassBlock
net.minecraft.class_2372
net.minecraft.block.GrassBlock
net.minecraft.src.C_1801_
net.minecraft.world.level.block.BlockGrass

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<GrassBlock>
a
CODEC
field_46364
CODEC
f_303636_

Constructor summary

ModifierConstructor
public (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<GrassBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public boolean
b(cts arg0, hx arg1, djh arg2)
isValidBonemealTarget(LevelReader arg0, BlockPos arg1, BlockState arg2)
method_9651(class_4538 arg0, class_2338 arg1, class_2680 arg2)
isFertilizable(WorldView arg0, BlockPos arg1, BlockState arg2)
m_7370_(C_1599_ p_256432_, C_4675_ p_255677_, C_2064_ arg2)
public boolean
a(ctp arg0, auv arg1, hx arg2, djh arg3)
isBonemealSuccess(Level arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9650(class_1937 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
canGrow(World arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_214167_(C_1596_ p_221276_, C_212974_ p_221277_, C_4675_ p_221278_, C_2064_ arg3)
public void
a(and arg0, auv arg1, hx arg2, djh arg3)
performBonemeal(ServerLevel arg0, RandomSource arg1, BlockPos arg2, BlockState arg3)
method_9652(class_3218 arg0, class_5819 arg1, class_2338 arg2, class_2680 arg3)
grow(ServerWorld arg0, Random arg1, BlockPos arg2, BlockState arg3)
m_214148_(C_12_ p_221271_, C_212974_ p_221272_, C_4675_ p_221273_, C_2064_ arg3)