Class BlockAgeStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.BlockAgeStructureProcessor
public class BlockAgeStructureProcessor extends StructureProcessor
- Mappings:
Namespace Name official cxq
intermediary net/minecraft/class_5193
named net/minecraft/structure/processor/BlockAgeStructureProcessor
-
Field Summary
Fields Modifier and Type Field Description private static BlockState[]
AGEABLE_SLABS
static com.mojang.serialization.Codec<BlockAgeStructureProcessor>
CODEC
private float
mossiness
-
Constructor Summary
Constructors Constructor Description BlockAgeStructureProcessor(float mossiness)
-
Method Summary
Modifier and Type Method Description protected StructureProcessorType<?>
getType()
private BlockState
process(Random random, BlockState[] regularStates, BlockState[] mossyStates)
Structure.StructureBlockInfo
process(WorldView world, BlockPos pos, BlockPos blockPos, Structure.StructureBlockInfo structureBlockInfo, Structure.StructureBlockInfo structureBlockInfo2, StructurePlacementData structurePlacementData)
private BlockState
processBlocks(Random random)
private BlockState
processObsidian(Random random)
private BlockState
processSlabs(Random random)
private BlockState
processStairs(Random random, BlockState state)
private BlockState
processWalls(Random random)
private static BlockState
randomStairProperties(Random random, Block stairs)
private static BlockState
randomState(Random random, BlockState[] states)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a:Lcom/mojang/serialization/Codec;
intermediary field_24997
Lnet/minecraft/class_5193;field_24997:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
-
AGEABLE_SLABS
- Mappings:
Namespace Name Mixin selector official b
Lcxq;b:[Lcht;
intermediary field_27338
Lnet/minecraft/class_5193;field_27338:[Lnet/minecraft/class_2680;
named AGEABLE_SLABS
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;AGEABLE_SLABS:[Lnet/minecraft/block/BlockState;
-
mossiness
private final float mossiness- Mappings:
Namespace Name Mixin selector official c
Lcxq;c:F
intermediary field_24042
Lnet/minecraft/class_5193;field_24042:F
named mossiness
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;mossiness:F
-
-
Constructor Details
-
BlockAgeStructureProcessor
public BlockAgeStructureProcessor(float mossiness)- Mappings:
Namespace Name Mixin selector official <init>
Lcxq;<init>(F)V
intermediary <init>
Lnet/minecraft/class_5193;<init>(F)V
named <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:
process
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Lcyl;a(Lbty;Lfx;Lfx;Lcyo$c;Lcyo$c;Lcyk;)Lcyo$c;
intermediary method_15110
Lnet/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 process
Lnet/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 a
Lcxq;a(Ljava/util/Random;)Lcht;
intermediary method_27256
Lnet/minecraft/class_5193;method_27256(Ljava/util/Random;)Lnet/minecraft/class_2680;
named processBlocks
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processBlocks(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processStairs
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Ljava/util/Random;Lcht;)Lcht;
intermediary method_27258
Lnet/minecraft/class_5193;method_27258(Ljava/util/Random;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
named processStairs
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processStairs(Ljava/util/Random;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
processSlabs
- Mappings:
Namespace Name Mixin selector official b
Lcxq;b(Ljava/util/Random;)Lcht;
intermediary method_27261
Lnet/minecraft/class_5193;method_27261(Ljava/util/Random;)Lnet/minecraft/class_2680;
named processSlabs
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processSlabs(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processWalls
- Mappings:
Namespace Name Mixin selector official c
Lcxq;c(Ljava/util/Random;)Lcht;
intermediary method_27262
Lnet/minecraft/class_5193;method_27262(Ljava/util/Random;)Lnet/minecraft/class_2680;
named processWalls
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processWalls(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
processObsidian
- Mappings:
Namespace Name Mixin selector official d
Lcxq;d(Ljava/util/Random;)Lcht;
intermediary method_27263
Lnet/minecraft/class_5193;method_27263(Ljava/util/Random;)Lnet/minecraft/class_2680;
named processObsidian
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;processObsidian(Ljava/util/Random;)Lnet/minecraft/block/BlockState;
-
randomStairProperties
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Ljava/util/Random;Lbwu;)Lcht;
intermediary method_27257
Lnet/minecraft/class_5193;method_27257(Ljava/util/Random;Lnet/minecraft/class_2248;)Lnet/minecraft/class_2680;
named randomStairProperties
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomStairProperties(Ljava/util/Random;Lnet/minecraft/block/Block;)Lnet/minecraft/block/BlockState;
-
process
- Mappings:
Namespace Name Mixin selector official a
Lcxq;a(Ljava/util/Random;[Lcht;[Lcht;)Lcht;
intermediary method_27260
Lnet/minecraft/class_5193;method_27260(Ljava/util/Random;[Lnet/minecraft/class_2680;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
named process
Lnet/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 a
Lcxq;a(Ljava/util/Random;[Lcht;)Lcht;
intermediary method_27259
Lnet/minecraft/class_5193;method_27259(Ljava/util/Random;[Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
named randomState
Lnet/minecraft/structure/processor/BlockAgeStructureProcessor;randomState(Ljava/util/Random;[Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
getType
- Specified by:
getType
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Lcyl;a()Lcyn;
intermediary method_16772
Lnet/minecraft/class_3491;method_16772()Lnet/minecraft/class_3828;
named getType
Lnet/minecraft/structure/processor/StructureProcessor;getType()Lnet/minecraft/structure/processor/StructureProcessorType;
-