mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Update forge
This commit is contained in:
1 parent
5f3172bd5d
commit
69db133091
197 files changed
+524
-830
No files matched your search
@@ -47,13 +47,14 @@ public abstract class ItemBrewBase extends ItemMod implements IBrewItem, IPickup
|
||||
private static final String TAG_BREW_KEY = "brewKey";
|
||||
private static final String TAG_SWIGS_LEFT = "swigsLeft";
|
||||
|
||||
String name;
|
||||
String texName;
|
||||
int swigs;
|
||||
int drinkSpeed;
|
||||
ItemStack baseItem;
|
||||
private String name;
|
||||
private String texName;
|
||||
private int swigs;
|
||||
private int drinkSpeed;
|
||||
private ItemStack baseItem;
|
||||
|
||||
public ItemBrewBase(String name, String texName, int swigs, int drinkSpeed, ItemStack baseItem) {
|
||||
super(name);
|
||||
this.name = name;
|
||||
this.texName = texName;
|
||||
this.swigs = swigs;
|
||||
@@ -61,7 +62,6 @@ public abstract class ItemBrewBase extends ItemMod implements IBrewItem, IPickup
|
||||
this.baseItem = baseItem;
|
||||
setMaxStackSize(1);
|
||||
setMaxDamage(swigs);
|
||||
setUnlocalizedName(name);
|
||||
setNoRepair();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user