TurnBasedMinecraftMod/src/main/java/com/seodisparate/TurnBasedMinecraft/common/EditingInfo.java
Stephen Seo aa229036ad Version 1.7
Can now add/edit "custom-name" entries to the config via
"/tbm-edit custom". These entries only apply to mobs with a matching
custom name.
2018-10-26 13:36:35 +09:00

27 lines
636 B
Java

package com.seodisparate.TurnBasedMinecraft.common;
import net.minecraft.entity.player.EntityPlayer;
public class EditingInfo
{
public EntityPlayer editor;
public EntityInfo entityInfo;
public boolean isPendingEntitySelection;
public boolean isEditingCustomName;
public EditingInfo()
{
editor = null;
entityInfo = null;
isPendingEntitySelection = true;
isEditingCustomName = false;
}
public EditingInfo(EntityPlayer player)
{
editor = player;
entityInfo = null;
isPendingEntitySelection = true;
isEditingCustomName = false;
}
}