mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-26 06:42:57 +00:00
Updating 1.7.2 repo
This commit is contained in:
1 parent
c9a38c4c10
commit
9dc8a57a2d
76 files changed
+1789
-184
No files matched your search
+13
@@ -37,6 +37,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
|
||||
private int ticksInAir = 0;
|
||||
private int ricochetCounter = 0;
|
||||
private boolean scheduledForDeath = false;
|
||||
private boolean isSilkTouch = false;
|
||||
|
||||
//Custom variables
|
||||
private int maxRicochet = 0;
|
||||
@@ -316,6 +317,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
|
||||
|
||||
par1NBTTagCompound.setTag("Effects", effectList);
|
||||
par1NBTTagCompound.setInteger("blocksBroken", blocksBroken);
|
||||
par1NBTTagCompound.setBoolean("isSilkTouch", isSilkTouch);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -331,6 +333,7 @@ public class EntitySpellProjectile extends Entity implements IProjectile
|
||||
inData = par1NBTTagCompound.getByte("inData") & 255;
|
||||
inGround = par1NBTTagCompound.getByte("inGround") == 1;
|
||||
blocksBroken = par1NBTTagCompound.getInteger("blocksBroken");
|
||||
isSilkTouch = par1NBTTagCompound.getBoolean("isSilkTouch");
|
||||
|
||||
NBTTagList tagList = par1NBTTagCompound.getTagList("Effects",Constants.NBT.TAG_COMPOUND);
|
||||
|
||||
@@ -608,4 +611,14 @@ public class EntitySpellProjectile extends Entity implements IProjectile
|
||||
{
|
||||
this.blocksBroken = blocksBroken;
|
||||
}
|
||||
|
||||
public boolean getIsSilkTouch()
|
||||
{
|
||||
return this.isSilkTouch;
|
||||
}
|
||||
|
||||
public void setIsSilkTouch(boolean bool)
|
||||
{
|
||||
this.isSilkTouch = bool;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user