net.minecraft.world.level.block

public class InfestedBlock

extends Block

All mapped superinterfaces:

ItemLike

cni
net.minecraft.world.level.block.InfestedBlock
net.minecraft.class_2384
net.minecraft.block.InfestedBlock
net.minecraft.src.C_1817_
net.minecraft.world.level.block.BlockMonsterEggs

Field summary

Modifier and TypeField
private final Block
a
hostBlock
field_11178
regularBlock
f_54174_
private static final Map<Block, Block>
b
BLOCK_BY_HOST_BLOCK
field_11179
REGULAR_TO_INFESTED_BLOCK
f_54175_
private static final Map<BlockState, BlockState>
c
HOST_TO_INFESTED_STATES
field_33564
REGULAR_TO_INFESTED_STATE
f_153421_
private static final Map<BlockState, BlockState>
d
INFESTED_TO_HOST_STATES
field_33565
INFESTED_TO_REGULAR_STATE
f_153422_

Constructor summary

ModifierConstructor
public (Block regularBlock, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public Block
b()
getHostBlock()
method_10271()
getRegularBlock()
m_54192_()
public static boolean
h(cvo arg0)
isCompatibleHostBlock(BlockState arg0)
method_10269(class_2680 arg0)
isInfestable(BlockState block)
m_54195_(C_2064_ p_54196_)
private void
a(agg arg0, gt arg1)
spawnInfestation(ServerLevel arg0, BlockPos arg1)
method_24797(class_3218 arg0, class_2338 arg1)
spawnSilverfish(ServerWorld world, BlockPos pos)
m_54180_(C_12_ p_54182_, C_4675_ arg1)
public void
a(cvo arg0, agg arg1, gt arg2, cax 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_221361_, C_12_ p_221362_, C_4675_ p_221363_, C_1391_ p_221364_, boolean arg4)
public static BlockState
n(cvo arg0)
infestedStateByHost(BlockState arg0)
method_36366(class_2680 arg0)
fromRegularState(BlockState regularState)
m_153430_(C_2064_ p_153431_)
public BlockState
o(cvo arg0)
hostStateByInfested(BlockState arg0)
method_10270(class_2680 arg0)
toRegularState(BlockState infestedState)
m_153432_(C_2064_ arg0)
private static BlockState
a(Map<cvo, cvo> arg0, cvo arg1, Supplier<cvo> 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)
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_)