net.minecraft.world.level.block

public class InfestedBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dsj
net.minecraft.world.level.block.InfestedBlock
net.minecraft.class_2384

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<InfestedBlock>
a
CODEC
field_46373
private final Block
b
hostBlock
field_11178
private static final Map<Block, Block>
c
BLOCK_BY_HOST_BLOCK
field_11179
private static final Map<BlockState, BlockState>
d
HOST_TO_INFESTED_STATES
field_33564
private static final Map<BlockState, BlockState>
e
INFESTED_TO_HOST_STATES
field_33565

Constructor summary

ModifierConstructor
public (Block arg0, BlockBehaviour$Properties arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends InfestedBlock>
a()
codec()
method_53969()
public Block
b()
getHostBlock()
method_10271()
public static boolean
o(ecg arg0)
isCompatibleHostBlock(BlockState arg0)
method_10269(class_2680 arg0)
private void
a(asi arg0, iy arg1)
spawnInfestation(ServerLevel arg0, BlockPos arg1)
method_24797(class_3218 arg0, class_2338 arg1)
protected void
a(ecg arg0, asi arg1, iy arg2, dba 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)
public static BlockState
p(ecg arg0)
infestedStateByHost(BlockState arg0)
method_36366(class_2680 arg0)
public BlockState
q(ecg arg0)
hostStateByInfested(BlockState arg0)
method_10270(class_2680 arg0)
private static BlockState
a(Map<ecg, ecg> arg0, ecg arg1, Supplier<ecg> 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)