Class StructureProcessor
java.lang.Object
net.minecraft.world.gen.feature.template.StructureProcessor
- Direct Known Subclasses:
BlackStoneReplacementProcessor
,BlockIgnoreStructureProcessor
,BlockMosinessProcessor
,GravityStructureProcessor
,IntegrityProcessor
,JigsawReplacementStructureProcessor
,LavaSubmergingProcessor
,NopProcessor
,RuleStructureProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract IStructureProcessorType<?>
getType()
process
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_, Template template) processBlock
(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) Deprecated.processEntity
(IWorldReader world, BlockPos seedPos, Template.EntityInfo rawEntityInfo, Template.EntityInfo entityInfo, PlacementSettings placementSettings, Template template) FORGE: Add entity processing.
-
Constructor Details
-
StructureProcessor
public StructureProcessor()
-
-
Method Details
-
processBlock
@Nullable @Deprecated public Template.BlockInfo processBlock(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_) Deprecated. -
getType
-
process
@Nullable public Template.BlockInfo process(IWorldReader p_230386_1_, BlockPos p_230386_2_, BlockPos p_230386_3_, Template.BlockInfo p_230386_4_, Template.BlockInfo p_230386_5_, PlacementSettings p_230386_6_, @Nullable Template template) -
processEntity
public Template.EntityInfo processEntity(IWorldReader world, BlockPos seedPos, Template.EntityInfo rawEntityInfo, Template.EntityInfo entityInfo, PlacementSettings placementSettings, Template template) FORGE: Add entity processing.Use this method to process entities from a structure in much the same way as blocks, parameters are analogous.
- Parameters:
world
-seedPos
-rawEntityInfo
-entityInfo
-placementSettings
-template
-- See Also:
-
#process(IWorldReader, BlockPos, net.minecraft.world.gen.feature.template.Template.BlockInfo, net.minecraft.world.gen.feature.template.Template.BlockInfo, PlacementSettings)
-