Class BlockRotStructureProcessor
java.lang.Object
net.minecraft.structure.processor.StructureProcessor
net.minecraft.structure.processor.BlockRotStructureProcessor
- Mappings:
Namespace Name official dny
intermediary net/minecraft/class_3488
named net/minecraft/structure/processor/BlockRotStructureProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockRotStructureProcessor>
private final float
private Optional<RegistryEntryList<Block>>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionBlockRotStructureProcessor
(float integrity) private
BlockRotStructureProcessor
(Optional<RegistryEntryList<Block>> rottableBlocks, float integrity) BlockRotStructureProcessor
(TagKey<Block> rottableBlocks, float integrity) -
Method Summary
Modifier and TypeMethodDescriptionprotected StructureProcessorType<?>
getType()
process
(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldny;a:Lcom/mojang/serialization/Codec;
intermediary field_25000
Lnet/minecraft/class_3488;field_25000:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;CODEC:Lcom/mojang/serialization/Codec;
-
rottableBlocks
- Mappings:
Namespace Name Mixin selector official b
Ldny;b:Ljava/util/Optional;
intermediary field_38437
Lnet/minecraft/class_3488;field_38437:Ljava/util/Optional;
named rottableBlocks
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;rottableBlocks:Ljava/util/Optional;
-
integrity
private final float integrity- Mappings:
Namespace Name Mixin selector official c
Ldny;c:F
intermediary field_15523
Lnet/minecraft/class_3488;field_15523:F
named integrity
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;integrity:F
-
-
Constructor Details
-
BlockRotStructureProcessor
- Mappings:
Namespace Name Mixin selector official <init>
Ldny;<init>(Lakz;F)V
intermediary <init>
Lnet/minecraft/class_3488;<init>(Lnet/minecraft/class_6862;F)V
named <init>
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;<init>(Lnet/minecraft/tag/TagKey;F)V
-
BlockRotStructureProcessor
public BlockRotStructureProcessor(float integrity) - Mappings:
Namespace Name Mixin selector official <init>
Ldny;<init>(F)V
intermediary <init>
Lnet/minecraft/class_3488;<init>(F)V
named <init>
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;<init>(F)V
-
BlockRotStructureProcessor
private BlockRotStructureProcessor(Optional<RegistryEntryList<Block>> rottableBlocks, float integrity) - Mappings:
Namespace Name Mixin selector official <init>
Ldny;<init>(Ljava/util/Optional;F)V
intermediary <init>
Lnet/minecraft/class_3488;<init>(Ljava/util/Optional;F)V
named <init>
Lnet/minecraft/structure/processor/BlockRotStructureProcessor;<init>(Ljava/util/Optional;F)V
-
-
Method Details
-
process
@Nullable public StructureTemplate.StructureBlockInfo process(WorldView world, BlockPos pos, BlockPos pivot, StructureTemplate.StructureBlockInfo originalBlockInfo, StructureTemplate.StructureBlockInfo currentBlockInfo, StructurePlacementData data) - Specified by:
process
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Ldoq;a(Lcha;Lgt;Lgt;Ldot$c;Ldot$c;Ldop;)Ldot$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/StructureTemplate$StructureBlockInfo;Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;Lnet/minecraft/structure/StructurePlacementData;)Lnet/minecraft/structure/StructureTemplate$StructureBlockInfo;
-
getType
- Specified by:
getType
in classStructureProcessor
- Mappings:
Namespace Name Mixin selector official a
Ldoq;a()Ldos;
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;
-