Class BundleWeightDataComponents
java.lang.Object
dev.thomasglasser.bundleweight.api.BundleWeightDataComponents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final dev.thomasglasser.tommylib.api.registration.DeferredHolder<net.minecraft.core.component.DataComponentType<?>, net.minecraft.core.component.DataComponentType<org.apache.commons.lang3.math.Fraction>> Used to determine the weight of an item in a bundle separately from the stack size.static final dev.thomasglasser.tommylib.api.registration.DeferredRegister<net.minecraft.core.component.DataComponentType<?>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DATA_COMPONENTS
public static final dev.thomasglasser.tommylib.api.registration.DeferredRegister<net.minecraft.core.component.DataComponentType<?>> DATA_COMPONENTS -
BUNDLE_WEIGHT
public static final dev.thomasglasser.tommylib.api.registration.DeferredHolder<net.minecraft.core.component.DataComponentType<?>,net.minecraft.core.component.DataComponentType<org.apache.commons.lang3.math.Fraction>> BUNDLE_WEIGHTUsed to determine the weight of an item in a bundle separately from the stack size.
-
-
Constructor Details
-
BundleWeightDataComponents
public BundleWeightDataComponents()
-
-
Method Details
-
init
public static void init()
-