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 eiq
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
  • Field Details

    • layers

      private final List<BlockColumnFeatureConfig.Layer> layers
      The field for the layers record component.
    • direction

      private final Direction direction
      The field for the direction record component.
    • allowedPlacement

      private final BlockPredicate allowedPlacement
      The field for the allowedPlacement record component.
    • prioritizeTip

      private final boolean prioritizeTip
      The field for the prioritizeTip record component.
    • CODEC

      public static final com.mojang.serialization.Codec<BlockColumnFeatureConfig> 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 Leiq;a:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • createLayer

      public 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 Leiq;a(Lbsn;Lela;)Leiq$a;
    • create

      public static BlockColumnFeatureConfig create(IntProvider height, BlockStateProvider state)
      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 Leiq;b(Lbsn;Lela;)Leiq;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • layers

      Returns the value of the layers record component.
      Returns:
      the value of the layers record component
    • direction

      public Direction direction()
      Returns the value of the direction record component.
      Returns:
      the value of the direction record component
    • allowedPlacement

      public BlockPredicate allowedPlacement()
      Returns the value of the allowedPlacement record component.
      Returns:
      the value of the allowedPlacement record component
    • prioritizeTip

      public boolean prioritizeTip()
      Returns the value of the prioritizeTip record component.
      Returns:
      the value of the prioritizeTip record component