mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
27 lines
598 B
Java
27 lines
598 B
Java
package com.hbm.items.machine;
|
|
|
|
import com.hbm.inventory.fluid.FluidType;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
public class ItemInfiniteFluid extends Item {
|
|
|
|
private FluidType type;
|
|
private int amount;
|
|
private int chance;
|
|
|
|
public ItemInfiniteFluid(FluidType type, int amount) {
|
|
this(type, amount, 1);
|
|
}
|
|
|
|
public ItemInfiniteFluid(FluidType type, int amount, int chance) {
|
|
this.type = type;
|
|
this.amount = amount;
|
|
this.chance = chance;
|
|
}
|
|
|
|
public FluidType getType() { return this.type; }
|
|
public int getAmount() { return this.amount; }
|
|
public int getChance() { return this.chance; }
|
|
}
|