Class BundleSizeEvent
java.lang.Object
net.neoforged.bus.api.Event
petrolpark.mc.library.core.world.item.bundle.BundleSizeEvent
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
public class BundleSizeEvent
extends net.neoforged.bus.api.Event
implements net.neoforged.bus.api.ICancellableEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
size
protected org.apache.commons.lang3.math.Fraction size -
stack
protected final net.minecraft.world.item.ItemStack stack
-
-
Constructor Details
-
BundleSizeEvent
public BundleSizeEvent(net.minecraft.world.item.ItemStack stack)
-
-
Method Details
-
getSize
public org.apache.commons.lang3.math.Fraction getSize() -
setSize
public void setSize(org.apache.commons.lang3.math.Fraction size) -
getStack
public net.minecraft.world.item.ItemStack getStack()
-