Teleposers and refractoring

This commit is contained in:
Arcaratus 2016-01-01 12:08:17 -05:00
parent 1b9f72b494
commit a8a0ae6e8b
145 changed files with 594 additions and 162 deletions

View file

@ -12,7 +12,6 @@ import java.util.UUID;
public class BindableHelper
{
/**
* Bind an item to a player. Handles checking if the player was an
* instanceof {@link net.minecraftforge.common.util.FakePlayer} or other

View file

@ -6,7 +6,6 @@ import net.minecraft.nbt.NBTTagCompound;
public class IncenseHelper
{
public static float getCurrentIncense(EntityPlayer player)
{
NBTTagCompound data = player.getEntityData();

View file

@ -6,7 +6,6 @@ import org.apache.logging.log4j.Logger;
public class LogHelper
{
private Logger logger;
public LogHelper(String logger)

View file

@ -5,7 +5,6 @@ import net.minecraft.nbt.NBTTagCompound;
public class NBTHelper
{
public static ItemStack checkNBT(ItemStack stack)
{
if (stack.getTagCompound() == null)

View file

@ -20,7 +20,6 @@ import java.util.UUID;
public class NetworkHelper
{
// Get
/**

View file

@ -15,7 +15,6 @@ import java.util.regex.Pattern;
public class PlayerHelper
{
private static final Pattern FAKE_PLAYER_PATTERN = Pattern.compile("^(?:\\[.*\\])|(?:ComputerCraft)$");
public static String getUsernameFromPlayer(EntityPlayer player)

View file

@ -21,7 +21,6 @@ import WayofTime.bloodmagic.api.ritual.imperfect.ImperfectRitual;
public class RitualHelper
{
public static boolean canCrystalActivate(Ritual ritual, int crystalLevel)
{
return ritual.getCrystalLevel() <= crystalLevel && RitualRegistry.ritualEnabled(ritual);