Class BlockAgeStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.BlockAgeStructureProcessor
public class BlockAgeStructureProcessor extends StructureProcessor
- Mappings:
Namespace Name official cziintermediary net/minecraft/class_5193named net/minecraft/structure/processor/BlockAgeStructureProcessor
-
Field Summary
Fields Modifier and Type Field Description private static BlockState[]AGEABLE_SLABSstatic com.mojang.serialization.Codec<BlockAgeStructureProcessor>CODECprivate floatmossiness -
Constructor Summary
Constructors Constructor Description BlockAgeStructureProcessor(float mossiness) -
Method Summary
Modifier and Type Method Description protected StructureProcessorType<?>getType()private BlockStateprocess(Random random, BlockState[] regularStates, BlockState[] mossyStates)Structure.StructureBlockInfoprocess(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)private @Nullable BlockStateprocessBlocks(Random random)private @Nullable BlockStateprocessObsidian(Random random)private @Nullable BlockStateprocessSlabs(Random random)private @Nullable BlockStateprocessStairs(Random random, BlockState state)private @Nullable BlockStateprocessWalls(Random random)private static BlockStaterandomStairProperties(Random random, Block stairs)private static BlockStaterandomState(Random random, BlockState[] states)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLczi;a:Lcom/mojang/serialization/Codec;intermediary field_24997Lnet/minecraft/class_5193;field_24997:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/structure/processor/BlockAgeStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
-
AGEABLE_SLABS
- Mappings:
Namespace Name Mixin selector official bLczi;b:[Lcio;intermediary field_27338Lnet/minecraft/class_5193;field_27338:[Lnet/minecraft/class_2680;named AGEABLE_SLABSLnet/minecraft/structure/processor/BlockAgeStructureProcessor;AGEABLE_SLABS:[Lnet/minecraft/block/BlockState;
-
mossiness
private final float mossiness- Mappings:
Namespace Name Mixin selector official cLczi;c:Fintermediary field_24042Lnet/minecraft/class_5193;field_24042:Fnamed mossinessLnet/minecraft/structure/processor/BlockAgeStructureProcessor;mossiness:F
-
-
Constructor Details
-
BlockAgeStructureProcessor
public BlockAgeStructureProcessor(float mossiness)- Mappings:
Namespace Name Mixin selector official <init>Lczi;<init>(F)Vintermediary <init>Lnet/minecraft/class_5193;<init>(F)Vnamed <init>Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;<init>(F)V
-
-
Method Details
-
process
@Nullable public Structure.StructureBlockInfo process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)- Specified by:
processin classStructureProcessor- Mappings:
Namespace Name Mixin selector official aLdad;a(Lbut;Lfx;Lfx;Ldag$c;Ldag$c;Ldac;)Ldag$c;intermediary method_15110Lnet/minecraft/class_3491;method_15110(Lnet/minecraft/class_4538;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3499$class_3501;Lnet/minecraft/class_3492;)Lnet/minecraft/class_3499$class_3501;named processLnet/minecraft/structure/processor/StructureProcessor;process(Lnet/minecraft/world/WorldView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/Structure$StructureBlockInfo;Lnet/minecraft/structure/StructurePlacementData;)Lnet/minecraft/structure/Structure$StructureBlockInfo;
-
processBlocks
- Mappings:
Namespace Name Mixin selector official aLczi;a(Ljava/util/Random;)Lcio;intermediary method_27256Lnet/minecraft/class_5193;method_27256(Ljava/util/Random;)Lnet/minecraft/class_2680;named processBlocksLnet/minecraft/structure/processor/BlockAgeStructureProcessor;processBlocks(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processStairs
- Mappings:
Namespace Name Mixin selector official aLczi;a(Ljava/util/Random;Lcio;)Lcio;intermediary method_27258Lnet/minecraft/class_5193;method_27258(Ljava/util/Random;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named processStairsLnet/minecraft/structure/processor/BlockAgeStructureProcessor;processStairs(Ljava/util/Random;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
processSlabs
- Mappings:
Namespace Name Mixin selector official bLczi;b(Ljava/util/Random;)Lcio;intermediary method_27261Lnet/minecraft/class_5193;method_27261(Ljava/util/Random;)Lnet/minecraft/class_2680;named processSlabsLnet/minecraft/structure/processor/BlockAgeStructureProcessor;processSlabs(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processWalls
- Mappings:
Namespace Name Mixin selector official cLczi;c(Ljava/util/Random;)Lcio;intermediary method_27262Lnet/minecraft/class_5193;method_27262(Ljava/util/Random;)Lnet/minecraft/class_2680;named processWallsLnet/minecraft/structure/processor/BlockAgeStructureProcessor;processWalls(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processObsidian
- Mappings:
Namespace Name Mixin selector official dLczi;d(Ljava/util/Random;)Lcio;intermediary method_27263Lnet/minecraft/class_5193;method_27263(Ljava/util/Random;)Lnet/minecraft/class_2680;named processObsidianLnet/minecraft/structure/processor/BlockAgeStructureProcessor;processObsidian(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
randomStairProperties
- Mappings:
Namespace Name Mixin selector official aLczi;a(Ljava/util/Random;Lbxp;)Lcio;intermediary method_27257Lnet/minecraft/class_5193;method_27257(Ljava/util/Random;Lnet/minecraft/class_2248;)Lnet/minecraft/class_2680;named randomStairPropertiesLnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomStairProperties(Ljava/util/Random;Lnet/minecraft/block/Block;)Lnet/minecraft/block/BlockState;
-
process
- Mappings:
Namespace Name Mixin selector official aLczi;a(Ljava/util/Random;[Lcio;[Lcio;)Lcio;intermediary method_27260Lnet/minecraft/class_5193;method_27260(Ljava/util/Random;[Lnet/minecraft/class_2680;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named processLnet/minecraft/structure/processor/BlockAgeStructureProcessor;process(Ljava/util/Random;[Lnet/minecraft/block/BlockState;[Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
randomState
- Mappings:
Namespace Name Mixin selector official aLczi;a(Ljava/util/Random;[Lcio;)Lcio;intermediary method_27259Lnet/minecraft/class_5193;method_27259(Ljava/util/Random;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named randomStateLnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomState(Ljava/util/Random;[Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
getType
- Specified by:
getTypein classStructureProcessor- Mappings:
Namespace Name Mixin selector official aLdad;a()Ldaf;intermediary method_16772Lnet/minecraft/class_3491;method_16772()Lnet/minecraft/class_3828;named getTypeLnet/minecraft/structure/processor/StructureProcessor;getType()Lnet/minecraft/structure/processor/StructureProcessorType;
-