Class LayerPattern.Layer

java.lang.Object
com.simibubi.create.infrastructure.worldgen.LayerPattern.Layer
Enclosing class:
LayerPattern

public static class LayerPattern.Layer extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<LayerPattern.Layer>
     
    final int
     
    final int
     
    final List<List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState>>
     
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Layer(List<List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState>> targets, int minSize, int maxSize, int weight)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState>
    rollBlock(net.minecraft.util.RandomSource random)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<LayerPattern.Layer> CODEC
    • targets

      public final List<List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState>> targets
    • minSize

      public final int minSize
    • maxSize

      public final int maxSize
    • weight

      public final int weight
  • Constructor Details

    • Layer

      public Layer(List<List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState>> targets, int minSize, int maxSize, int weight)
  • Method Details

    • rollBlock

      public List<net.minecraft.world.level.levelgen.feature.configurations.OreConfiguration.TargetBlockState> rollBlock(net.minecraft.util.RandomSource random)