net.minecraft.world.level.block

public class InfestedBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

djx
net.minecraft.world.level.block.InfestedBlock
net.minecraft.class_2384
net.minecraft.unmapped.C_grmxluta
net.minecraft.block.InfestedBlock
net.minecraft.block.InfestedBlock
net.minecraft.src.C_1817_
net.minecraft.world.level.block.BlockMonsterEggs

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<InfestedBlock>
a
CODEC
field_46373
f_zfqjmpve
CODEC
CODEC
f_303003_
private final Block
b
hostBlock
field_11178
f_ennmuity
regularBlock
regularBlock
f_54174_
private static final Map<Block, Block>
c
BLOCK_BY_HOST_BLOCK
field_11179
f_xczgribf
REGULAR_TO_INFESTED_BLOCK
REGULAR_TO_INFESTED_BLOCK
f_54175_
private static final Map<BlockState, BlockState>
d
HOST_TO_INFESTED_STATES
field_33564
f_tqxklppx
REGULAR_TO_INFESTED_STATE
REGULAR_TO_INFESTED_STATE
f_153421_
private static final Map<BlockState, BlockState>
e
INFESTED_TO_HOST_STATES
field_33565
f_daegielz
INFESTED_TO_REGULAR_STATE
INFESTED_TO_REGULAR_STATE
f_153422_

Constructor summary

ModifierConstructor
public (Block regularBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends InfestedBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
public Block
b()
getHostBlock()
method_10271()
m_qgeexebq()
getRegularBlock()
getRegularBlock()
m_54192_()
public static boolean
m(dtc arg0)
isCompatibleHostBlock(BlockState arg0)
method_10269(class_2680 arg0)
m_xacnnjbt(C_txtbiemp arg0)
isInfestable(BlockState block)
isInfestable(BlockState block)
m_54195_(C_2064_ p_54196_)
private void
a(aqu arg0, jd arg1)
spawnInfestation(ServerLevel arg0, BlockPos arg1)
method_24797(class_3218 arg0, class_2338 arg1)
m_nmdbyvcw(C_bdwnwhiu arg0, C_hynzadkk arg1)
spawnSilverfish(ServerWorld world, BlockPos pos)
spawnSilverfish(ServerWorld world, BlockPos pos)
m_54180_(C_12_ p_54182_, C_4675_ arg1)
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)
m_qjteufci(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, C_sddaxwyk arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
m_213646_(C_2064_ p_221361_, C_12_ p_221362_, C_4675_ p_221363_, C_1391_ p_221364_, boolean arg4)
public static BlockState
n(dtc arg0)
infestedStateByHost(BlockState arg0)
method_36366(class_2680 arg0)
m_evitmyqr(C_txtbiemp arg0)
fromRegularState(BlockState regularState)
fromRegularState(BlockState regularState)
m_153430_(C_2064_ p_153431_)
public BlockState
o(dtc arg0)
hostStateByInfested(BlockState arg0)
method_10270(class_2680 arg0)
m_miwsufyn(C_txtbiemp arg0)
toRegularState(BlockState infestedState)
toRegularState(BlockState infestedState)
m_153432_(C_2064_ arg0)
private static BlockState
a(Map<dtc, dtc> arg0, dtc arg1, Supplier<dtc> arg2)
getNewStateWithProperties(Map<BlockState, BlockState> arg0, BlockState arg1, Supplier<BlockState> arg2)
method_36363(Map<class_2680, class_2680> arg0, class_2680 arg1, Supplier<class_2680> arg2)
m_kltbuqug(Map<C_txtbiemp, C_txtbiemp> arg0, C_txtbiemp arg1, Supplier<C_txtbiemp> arg2)
copyProperties(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier)
copyProperties(Map<BlockState, BlockState> stateMap, BlockState fromState, Supplier<BlockState> toStateSupplier)
m_153423_(Map<C_2064_, C_2064_> p_153424_, C_2064_ p_153425_, Supplier<C_2064_> p_153426_)