Random stuffs
Updated commands Added in a ritual hologram --Alex's code Added a Total Stones tooltip to the ritual diviner Gave the Alchemy Relay a null bounding box Added localizations to the blocks that didn't have any
This commit is contained in:
parent
003a65a51b
commit
31f552fe2d
87 changed files with 2513 additions and 682 deletions
|
@ -417,7 +417,7 @@ public class SoulNetworkHandler
|
|||
|
||||
public static String getUsername(EntityPlayer player)
|
||||
{
|
||||
return player.getDisplayName();
|
||||
return player.getCommandSenderName();
|
||||
}
|
||||
|
||||
public static EntityPlayer getPlayerForUsername(String str)
|
||||
|
|
|
@ -164,6 +164,23 @@ public class APISpellHelper
|
|||
data.setFloat("BM:MaxAddedHP", maxHP);
|
||||
}
|
||||
|
||||
public static int getPlayerReagentRegenCooldownTag(EntityPlayer player)
|
||||
{
|
||||
NBTTagCompound data = APISpellHelper.getPersistentDataTag(player);
|
||||
if(data.hasKey("BM:ReagentRegenCooldown"))
|
||||
{
|
||||
return data.getInteger("BM:ReagentRegenCooldown");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static void setPlayerReagentRegenCooldownTag(EntityPlayer player, int amount)
|
||||
{
|
||||
NBTTagCompound data = APISpellHelper.getPersistentDataTag(player);
|
||||
data.setInteger("BM:ReagentRegenCooldown", amount);
|
||||
}
|
||||
|
||||
public static MovingObjectPosition raytraceFromEntity(World world, Entity player, boolean par3, double range)
|
||||
{
|
||||
float f = 1.0F;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue