Package net.minecraft.world.gen.feature
Record Class BlockColumnFeatureConfig
java.lang.Object
java.lang.Record
net.minecraft.world.gen.feature.BlockColumnFeatureConfig
- Record Components:
- layers-
- direction-
- allowedPlacement-
- prioritizeTip-
- All Implemented Interfaces:
- FeatureConfig
public record BlockColumnFeatureConfig(List<BlockColumnFeatureConfig.Layer> layers, Direction direction, BlockPredicate allowedPlacement, boolean prioritizeTip)
extends Record
implements FeatureConfig
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/feature/BlockColumnFeatureConfig- intermediary - net/minecraft/class_6655- official - ehu- named - layers- intermediary - comp_143- official - b- named - direction- intermediary - comp_144- official - c- named - allowedPlacement- intermediary - comp_168- official - d- named - prioritizeTip- intermediary - comp_146- official - e
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final BlockPredicateThe field for theallowedPlacementrecord component.static final com.mojang.serialization.Codec<BlockColumnFeatureConfig> private final DirectionThe field for thedirectionrecord component.private final List<BlockColumnFeatureConfig.Layer> The field for thelayersrecord component.private final booleanThe field for theprioritizeTiprecord component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfigDEFAULT
- 
Constructor SummaryConstructorsConstructorDescriptionBlockColumnFeatureConfig(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theallowedPlacementrecord component.static BlockColumnFeatureConfigcreate(IntProvider height, BlockStateProvider state) createLayer(IntProvider height, BlockStateProvider state) Returns the value of thedirectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.booleanReturns the value of theprioritizeTiprecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.gen.feature.FeatureConfiggetDecoratedFeatures
- 
Field Details- 
layersThe field for thelayersrecord component.
- 
directionThe field for thedirectionrecord component.
- 
allowedPlacementThe field for theallowedPlacementrecord component.
- 
prioritizeTipprivate final boolean prioritizeTipThe field for theprioritizeTiprecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_35073- Lnet/minecraft/class_6655;field_35073:Lcom/mojang/serialization/Codec;- official - a- Lehu;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
BlockColumnFeatureConfigpublic BlockColumnFeatureConfig(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool) 
 
- 
- 
Method Details- 
createLayerpublic static BlockColumnFeatureConfig.Layer createLayer(IntProvider height, BlockStateProvider state) - Mappings:
- Namespace - Name - Mixin selector - named - createLayer- Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig;createLayer(Lnet/minecraft/util/math/intprovider/IntProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig$Layer;- intermediary - method_38908- Lnet/minecraft/class_6655;method_38908(Lnet/minecraft/class_6017;Lnet/minecraft/class_4651;)Lnet/minecraft/class_6655$class_6656;- official - a- Lehu;a(Lbrq;Leke;)Lehu$a;
 
- 
create- Mappings:
- Namespace - Name - Mixin selector - named - create- Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig;create(Lnet/minecraft/util/math/intprovider/IntProvider;Lnet/minecraft/world/gen/stateprovider/BlockStateProvider;)Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig;- intermediary - method_38910- Lnet/minecraft/class_6655;method_38910(Lnet/minecraft/class_6017;Lnet/minecraft/class_4651;)Lnet/minecraft/class_6655;- official - b- Lehu;b(Lbrq;Leke;)Lehu;
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
layersReturns the value of thelayersrecord component.- Returns:
- the value of the layersrecord component
 
- 
directionReturns the value of thedirectionrecord component.- Returns:
- the value of the directionrecord component
 
- 
allowedPlacementReturns the value of theallowedPlacementrecord component.- Returns:
- the value of the allowedPlacementrecord component
 
- 
prioritizeTippublic boolean prioritizeTip()Returns the value of theprioritizeTiprecord component.- Returns:
- the value of the prioritizeTiprecord component
 
 
-