Added getters for FMLPlayMessages.SpawnEntity

This commit is contained in:
GirafiStudios 2019-08-29 20:41:54 +02:00 committed by cpw
parent 68cb017be1
commit 26e4bf92a0
No known key found for this signature in database
GPG key ID: 8EB3DF749553B1B7

View file

@ -172,6 +172,76 @@ public class FMLPlayMessages
});
ctx.get().setPacketHandled(true);
}
public Entity getEntity()
{
return entity;
}
public int getTypeId()
{
return typeId;
}
public int getEntityId()
{
return entityId;
}
public UUID getUuid()
{
return uuid;
}
public double getPosX()
{
return posX;
}
public double getPosY()
{
return posY;
}
public double getPosZ()
{
return posZ;
}
public byte getPitch()
{
return pitch;
}
public byte getYaw()
{
return yaw;
}
public byte getHeadYaw()
{
return headYaw;
}
public int getVelX()
{
return velX;
}
public int getVelY()
{
return velY;
}
public int getVelZ()
{
return velZ;
}
public PacketBuffer getAdditionalData()
{
return buf;
}
}
public static class OpenContainer