Class ItemStressValues

java.lang.Object
petrolpark.mc.library.compat.create.core.world.item.ItemStressValues

public class ItemStressValues extends Object
Item equivalent of BlockStressValues
  • Field Details

    • IMPACTS

      public static final com.simibubi.create.api.registry.SimpleRegistry<net.minecraft.world.item.Item,DoubleSupplier> IMPACTS
      Registry for suppliers of stress impacts. Determine the base impact at 1 RPM.
    • CAPACITIES

      public static final com.simibubi.create.api.registry.SimpleRegistry<net.minecraft.world.item.Item,DoubleSupplier> CAPACITIES
      Registry for suppliers of stress capacities. Determine the base capacity at 1 RPM.
  • Constructor Details

    • ItemStressValues

      public ItemStressValues()
  • Method Details

    • getImpact

      public static double getImpact(net.minecraft.world.item.Item block)
    • getCapacity

      public static double getCapacity(net.minecraft.world.item.Item block)