Class BundleWeightDataComponents

java.lang.Object
dev.thomasglasser.bundleweight.api.BundleWeightDataComponents

public class BundleWeightDataComponents extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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_WEIGHT
      Used 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()