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

28 lines
635 B
Java
Raw Normal View History

2019-11-25 06:29:25 +00:00
package com.burnedkirby.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;
}
}