net.minecraft.world.level.block

public class SpawnerBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dto
net.minecraft.world.level.block.SpawnerBlock
net.minecraft.class_2496
net.minecraft.block.SpawnerBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<SpawnerBlock>
a
CODEC
field_46455
CODEC

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SpawnerBlock>
a()
codec()
method_53969()
getCodec()
public BlockEntity
a(iu arg0, dzo arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dip arg0, dzo arg1, dwp<T> arg2)
getTicker(Level arg0, BlockState arg1, BlockEntityType<T> arg2)
method_31645(class_1937 arg0, class_2680 arg1, class_2591<T> arg2)
getTicker(World arg0, BlockState arg1, BlockEntityType<T> arg2)
protected void
a(dzo arg0, aro arg1, iu arg2, cys arg3, boolean arg4)
spawnAfterBreak(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
method_9565(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)