mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 22:44:44 +00:00
Added the Tainted Blood Pendant.
This commit is contained in:
1 parent
403b90b849
commit
7281be661f
10 files changed
+212
-14
No files matched your search
@@ -28,6 +28,7 @@ public class Brew {
|
||||
int color;
|
||||
int cost;
|
||||
List<PotionEffect> effects;
|
||||
boolean canInfuseBloodPendant = true;
|
||||
|
||||
/**
|
||||
* @param name The unlocalized name of this potion.
|
||||
@@ -44,6 +45,18 @@ public class Brew {
|
||||
this.effects = new ArrayList(Arrays.asList(effects));
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets this brew to not be able to be infused onto the Tainted Blood Pendant.
|
||||
*/
|
||||
public Brew setNotBloodPendantInfusable() {
|
||||
canInfuseBloodPendant = false;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean canInfuseBloodPendant() {
|
||||
return canInfuseBloodPendant;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the key for this brew, for it to be found in the map in the API.
|
||||
* This should ALWAYS return the same result.
|
||||
|
||||
Reference in new issue
Block a user