TurnBasedMinecraftMod/src/main/java/com/seodisparate/TurnBasedMinecraft/common/EditingInfo.java

28 lines
636 B
Java
Raw Normal View History

package com.seodisparate.TurnBasedMinecraft.common;
2019-10-21 07:13:11 +00:00
import net.minecraft.entity.player.PlayerEntity;
public class EditingInfo
{
2019-10-21 07:13:11 +00:00
public PlayerEntity editor;
public EntityInfo entityInfo;
public boolean isPendingEntitySelection;
public boolean isEditingCustomName;
public EditingInfo()
{
editor = null;
entityInfo = null;
isPendingEntitySelection = true;
isEditingCustomName = false;
}
2019-10-21 07:13:11 +00:00
public EditingInfo(PlayerEntity player)
{
editor = player;
entityInfo = null;
isPendingEntitySelection = true;
isEditingCustomName = false;
}
}