Handle Hoppers for Distillers and MCBarrels

Removed most mentions of Persistent
This commit is contained in:
Sn0wStorm
2019-11-14 15:46:15 +01:00
parent 3332354846
commit f483f03560
13 changed files with 65 additions and 162 deletions
-22
View File
@@ -463,27 +463,6 @@ public class Brew implements Cloneable {
return currentRecipe;
}
// Not needed anymore
// TODO remove
@Deprecated
public boolean isPersistent() {
return persistent;
}
// Make a potion persistent to not delete it when drinking it
// Not needed anymore
@Deprecated
public void makePersistent() {
persistent = true;
}
// Remove the Persistence Flag from a brew, so it will be normally deleted when drinking it
// Not needed anymore
@Deprecated
public void removePersistence() {
persistent = false;
}
public boolean isStatic() {
return immutable;
}
@@ -866,7 +845,6 @@ public class Brew implements Cloneable {
recipe = in.readUTF();
}
unlabeled = (bools & 16) != 0;
//persistent = (bools & 32) != 0;
immutable = (bools & 32) != 0;
ingredients = BIngredients.load(in, dataVersion);
setRecipeFromString(recipe);