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 official dly
intermediary net/minecraft/class_6655
named net/minecraft/world/gen/feature/BlockColumnFeatureConfig
official b
intermediary comp_143
named layers
official c
intermediary comp_144
named direction
official d
intermediary comp_168
named allowedPlacement
official e
intermediary comp_146
named prioritizeTip
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockPredicate
The field for theallowedPlacement
record component.static final com.mojang.serialization.Codec<BlockColumnFeatureConfig>
private final Direction
The field for thedirection
record component.private final List<BlockColumnFeatureConfig.Layer>
The field for thelayers
record component.private final boolean
The field for theprioritizeTip
record component.Fields inherited from interface net.minecraft.world.gen.feature.FeatureConfig
DEFAULT
-
Constructor Summary
ConstructorDescriptionBlockColumnFeatureConfig
(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallowedPlacement
record component.static BlockColumnFeatureConfig
create
(IntProvider height, BlockStateProvider state) createLayer
(IntProvider height, BlockStateProvider state) Returns the value of thedirection
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.layers()
Returns the value of thelayers
record component.boolean
Returns the value of theprioritizeTip
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.feature.FeatureConfig
getDecoratedFeatures
-
Field Details
-
layers
The field for thelayers
record component. -
direction
The field for thedirection
record component. -
allowedPlacement
The field for theallowedPlacement
record component. -
prioritizeTip
private final boolean prioritizeTipThe field for theprioritizeTip
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldly;a:Lcom/mojang/serialization/Codec;
intermediary field_35073
Lnet/minecraft/class_6655;field_35073:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/feature/BlockColumnFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
BlockColumnFeatureConfig
public BlockColumnFeatureConfig(List<BlockColumnFeatureConfig.Layer> list, Direction direction, BlockPredicate blockPredicate, boolean bool)
-
-
Method Details
-
createLayer
public static BlockColumnFeatureConfig.Layer createLayer(IntProvider height, BlockStateProvider state) - Mappings:
Namespace Name Mixin selector official a
Ldly;a(Lbdd;Ldoi;)Ldly$a;
intermediary method_38908
Lnet/minecraft/class_6655;method_38908(Lnet/minecraft/class_6017;Lnet/minecraft/class_4651;)Lnet/minecraft/class_6655$class_6656;
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;
-
create
- Mappings:
Namespace Name Mixin selector official b
Ldly;b(Lbdd;Ldoi;)Ldly;
intermediary method_38910
Lnet/minecraft/class_6655;method_38910(Lnet/minecraft/class_6017;Lnet/minecraft/class_4651;)Lnet/minecraft/class_6655;
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;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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 '=='. -
layers
Returns the value of thelayers
record component.- Returns:
- the value of the
layers
record component
-
direction
Returns the value of thedirection
record component.- Returns:
- the value of the
direction
record component
-
allowedPlacement
Returns the value of theallowedPlacement
record component.- Returns:
- the value of the
allowedPlacement
record component
-
prioritizeTip
public boolean prioritizeTip()Returns the value of theprioritizeTip
record component.- Returns:
- the value of the
prioritizeTip
record component
-