net.minecraft.world.level.block

public class InfestedBlock

extends Block

All mapped superinterfaces:

ItemLike

cgl
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
c()
getHostBlock()
method_10271()
getRegularBlock()
m_54192_()
public static boolean
h(coc arg0)
isCompatibleHostBlock(BlockState arg0)
method_10269(class_2680 arg0)
isInfestable(BlockState block)
m_54195_(C_2064_ p_54196_)
private void
a(adi arg0, gh 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(coc arg0, adi arg1, gh arg2, bue arg3)
spawnAfterBreak(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3)
method_9565(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3)
m_8101_(C_2064_ p_54189_, C_12_ p_54190_, C_4675_ p_54191_, C_1391_ arg3)
public void
a(cad arg0, gh arg1, bzv arg2)
wasExploded(Level arg0, BlockPos arg1, Explosion arg2)
method_9586(class_1937 arg0, class_2338 arg1, class_1927 arg2)
onDestroyedByExplosion(World arg0, BlockPos arg1, Explosion arg2)
m_7592_(C_1596_ p_54185_, C_4675_ p_54186_, C_1578_ arg2)
public static BlockState
n(coc arg0)
infestedStateByHost(BlockState arg0)
method_36366(class_2680 arg0)
fromRegularState(BlockState regularState)
m_153430_(C_2064_ p_153431_)
public BlockState
o(coc arg0)
hostStateByInfested(BlockState arg0)
method_10270(class_2680 arg0)
toRegularState(BlockState infestedState)
m_153432_(C_2064_ arg0)
private static BlockState
a(Map<coc, coc> arg0, coc arg1, Supplier<coc> 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_)