Example #1
0
 public void registerEntity(
     Class<? extends Entity> cls,
     String name,
     Enum id,
     int updateFrequency,
     boolean sendVelocityUpdates) {
   registerEntity(cls, name, id.ordinal(), updateFrequency, sendVelocityUpdates);
 }
Example #2
0
 public void openGui(EntityPlayer player, Enum id, World world, int x, int y, int z) {
   openGui(player, id.ordinal(), world, x, y, z);
 }
Example #3
0
 public void addContainer(Enum id, Class<? extends Container> cls) {
   addContainer(id.ordinal(), cls);
 }
Example #4
0
 public void registerEntity(Class<? extends Entity> cls, String name, Enum id) {
   registerEntity(cls, name, id.ordinal());
 }