Class ItemStressValues
java.lang.Object
petrolpark.mc.library.compat.create.core.world.item.ItemStressValues
Item equivalent of
BlockStressValues-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.simibubi.create.api.registry.SimpleRegistry<net.minecraft.world.item.Item, DoubleSupplier> Registry for suppliers of stress capacities.static final com.simibubi.create.api.registry.SimpleRegistry<net.minecraft.world.item.Item, DoubleSupplier> Registry for suppliers of stress impacts. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetCapacity(net.minecraft.world.item.Item block) static doublegetImpact(net.minecraft.world.item.Item block)
-
Field Details
-
IMPACTS
public static final com.simibubi.create.api.registry.SimpleRegistry<net.minecraft.world.item.Item,DoubleSupplier> IMPACTSRegistry 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> CAPACITIESRegistry 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)
-