Class ExtendedMaterialRules

java.lang.Object
net.rodofire.easierworldcreator.world.gen.surfacebuilder.ExtendedMaterialRules

public class ExtendedMaterialRules extends Object
  • Constructor Details

    • ExtendedMaterialRules

      public ExtendedMaterialRules()
  • Method Details

    • fullNoiseThresold

      public static net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialCondition fullNoiseThresold(net.minecraft.registry.RegistryKey<net.minecraft.util.math.noise.DoublePerlinNoiseSampler.NoiseParameters> noise, double minThreshold, double maxThreshold)
    • random

      public static net.minecraft.world.gen.surfacebuilder.MaterialRules.MaterialCondition random(net.minecraft.util.Identifier name, float bound)
      method to place a block randomly
      Parameters:
      name - the name of the condition
      bound - the bound that determines if the block is placed. Must be between 0f - 1f.
      • 0f means that the value will always be false
      • 0.5f means that the block will be placed 50% of the time
      • 1f means that the block will always be placed
      Returns:
      the material condition