net.minecraft.world.level.block

public class SpawnerBlock

extends BaseEntityBlock

All mapped superinterfaces:

FeatureElement, ItemLike, EntityBlock

dnn
net.minecraft.world.level.block.SpawnerBlock
net.minecraft.class_2496
net.minecraft.block.SpawnerBlock
net.minecraft.src.C_1915_
net.minecraft.world.level.block.BlockMobSpawner

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SpawnerBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
public BlockEntity
a(jd arg0, dtc arg1)
newBlockEntity(BlockPos arg0, BlockState arg1)
method_10123(class_2338 arg0, class_2680 arg1)
createBlockEntity(BlockPos arg0, BlockState arg1)
m_142194_(C_4675_ p_154688_, C_2064_ arg1)
public <T extends BlockEntity> BlockEntityTicker<T>
a(dcw arg0, dtc arg1, dqj<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)
m_142354_(C_1596_ p_154684_, C_2064_ p_154685_, C_1992_<T> arg2)
protected void
a(dtc arg0, aqu arg1, jd arg2, cuq 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)
m_213646_(C_2064_ p_222478_, C_12_ p_222479_, C_4675_ p_222480_, C_1391_ p_222481_, boolean arg4)
protected RenderShape
a_(dtc arg0)
getRenderShape(BlockState arg0)
method_9604(class_2680 arg0)
getRenderType(BlockState arg0)
m_7514_(C_2064_ arg0)
public void
a(cuq arg0, cul$b arg1, List<wz> arg2, cwm arg3)
appendHoverText(ItemStack arg0, Item$TooltipContext arg1, List<Component> arg2, TooltipFlag arg3)
method_9568(class_1799 arg0, class_1792$class_9635 arg1, List<class_2561> arg2, class_1836 arg3)
appendTooltip(ItemStack arg0, Item$TooltipContext arg1, List<Text> arg2, TooltipType arg3)
m_5871_(C_1391_ p_331610_, C_1381_$C_313602_ p_255708_, List<C_4996_> p_255667_, C_1431_ arg3)