mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-24 22:14:45 +00:00
Nerfed the pyroclast pendant.
This commit is contained in:
1 parent
5e4c91b91d
commit
eff9b8bc2c
3 files changed
+3
-14
No files matched your search
@@ -27,16 +27,8 @@ public class ItemLavaPendant extends ItemBauble {
|
||||
|
||||
@Override
|
||||
public void onWornTick(ItemStack stack, EntityLivingBase player) {
|
||||
setImmunity(player, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUnequipped(ItemStack stack, EntityLivingBase player) {
|
||||
setImmunity(player, false);
|
||||
}
|
||||
|
||||
private void setImmunity(Entity entity, boolean immune) {
|
||||
ReflectionHelper.setPrivateValue(Entity.class, entity, immune, LibObfuscation.IS_IMMUNE_TO_FIRE);
|
||||
if(player.isBurning())
|
||||
player.extinguish();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -33,9 +33,6 @@ public final class LibObfuscation {
|
||||
public static final String[] TEXTURE_UPLOADED = new String[] { "textureUploaded", "field_110559_g", "i" };
|
||||
public static final String[] BUFFERED_IMAGE = new String[] { "bufferedImage", "field_110560_d", "g" };
|
||||
|
||||
// Entity
|
||||
public static final String[] IS_IMMUNE_TO_FIRE = new String[] { "isImmuneToFire", "field_70178_ae", "ag" };
|
||||
|
||||
// ItemReed
|
||||
public static final String[] REED_ITEM = new String[] { "field_150935_a", "a" };
|
||||
|
||||
|
||||
@@ -1333,7 +1333,7 @@ botania.page.icePendant1=Do you want to build a snowman?
|
||||
|
||||
# -- PYROCLAST PENDANT
|
||||
botania.entry.lavaPendant=Pyroclast Pendant
|
||||
botania.page.lavaPendant0=The &1Pyroclast Pendant&0 is a &4Bauble&0 that absorbs any heat, while it's worn, the wearer becomes completely imprevious to any &4Fire&0 or &4Lava&0 damage.
|
||||
botania.page.lavaPendant0=The &1Pyroclast Pendant&0 is a &4Bauble&0 that absorbs low heat, while it's worn, if the wearer is caught on fire and is not directly standing on &1Fire&0, &1Lava&0 or anything else that can induce burning, they'll be extinguished.
|
||||
botania.page.lavaPendant1=Hanako could have used one of these
|
||||
|
||||
# -- GOLDEN LAUREL CROWN
|
||||
|
||||
Reference in new issue
Block a user