java.lang.Object
net.createmod.catnip.config.ConfigBase
com.simibubi.create.infrastructure.config.CStress

public class CStress extends net.createmod.catnip.config.ConfigBase
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.createmod.catnip.config.ConfigBase

    net.createmod.catnip.config.ConfigBase.ConfigBool, net.createmod.catnip.config.ConfigBase.ConfigEnum<T extends Enum<T>>, net.createmod.catnip.config.ConfigBase.ConfigFloat, net.createmod.catnip.config.ConfigBase.ConfigGroup, net.createmod.catnip.config.ConfigBase.ConfigInt, net.createmod.catnip.config.ConfigBase.CValue<V,T extends net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<V>>, net.createmod.catnip.config.ConfigBase.IValueProvider<V,T extends net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<V>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Map<net.minecraft.resources.ResourceLocation,net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<Double>>
     
    protected final Map<net.minecraft.resources.ResourceLocation,net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<Double>>
     

    Fields inherited from class net.createmod.catnip.config.ConfigBase

    allValues, children, depth, specification
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable DoubleSupplier
    getCapacity(net.minecraft.world.level.block.Block block)
     
    @Nullable DoubleSupplier
    getImpact(net.minecraft.world.level.block.Block block)
     
     
    void
    registerAll(net.neoforged.neoforge.common.ModConfigSpec.Builder builder)
     
    static <B extends net.minecraft.world.level.block.Block, P>
    com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>>
    setCapacity(double value)
     
    static <B extends net.minecraft.world.level.block.Block, P>
    com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>>
    setImpact(double value)
     
    static <B extends net.minecraft.world.level.block.Block, P>
    com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>>
     

    Methods inherited from class net.createmod.catnip.config.ConfigBase

    b, e, f, f, group, i, i, i, nested, onLoad, onReload

    Methods inherited from class java.lang.Object

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

    • capacities

      protected final Map<net.minecraft.resources.ResourceLocation,net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<Double>> capacities
    • impacts

      protected final Map<net.minecraft.resources.ResourceLocation,net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<Double>> impacts
  • Constructor Details

    • CStress

      public CStress()
  • Method Details

    • registerAll

      public void registerAll(net.neoforged.neoforge.common.ModConfigSpec.Builder builder)
      Overrides:
      registerAll in class net.createmod.catnip.config.ConfigBase
    • getName

      public String getName()
      Specified by:
      getName in class net.createmod.catnip.config.ConfigBase
    • getImpact

      @Nullable public @Nullable DoubleSupplier getImpact(net.minecraft.world.level.block.Block block)
    • getCapacity

      @Nullable public @Nullable DoubleSupplier getCapacity(net.minecraft.world.level.block.Block block)
    • setNoImpact

      public static <B extends net.minecraft.world.level.block.Block, P> com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>> setNoImpact()
    • setImpact

      public static <B extends net.minecraft.world.level.block.Block, P> com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>> setImpact(double value)
    • setCapacity

      public static <B extends net.minecraft.world.level.block.Block, P> com.tterrag.registrate.util.nullness.NonNullUnaryOperator<com.tterrag.registrate.builders.BlockBuilder<B,P>> setCapacity(double value)