Class EntityRegistry

java.lang.Object
net.minecraft.entity.EntityRegistry

public class EntityRegistry extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_206
glue class_228
server ga
client jc
named net/minecraft/entity/EntityRegistry
  • Field Details

    • idToClass

      private static Map idToClass
      Mappings:
      Namespace Name Mixin selector
      intermediary field_757 Lnet/minecraft/class_206;field_757:Ljava/util/Map;
      glue field_953 Lclass_228;field_953:Ljava/util/Map;
      server a Lga;a:Ljava/util/Map;
      client a Ljc;a:Ljava/util/Map;
      named idToClass Lnet/minecraft/entity/EntityRegistry;idToClass:Ljava/util/Map;
    • classToId

      private static Map classToId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_758 Lnet/minecraft/class_206;field_758:Ljava/util/Map;
      glue field_954 Lclass_228;field_954:Ljava/util/Map;
      server b Lga;b:Ljava/util/Map;
      client b Ljc;b:Ljava/util/Map;
      named classToId Lnet/minecraft/entity/EntityRegistry;classToId:Ljava/util/Map;
    • rawIdToClass

      private static Map rawIdToClass
      Mappings:
      Namespace Name Mixin selector
      intermediary field_759 Lnet/minecraft/class_206;field_759:Ljava/util/Map;
      glue field_955 Lclass_228;field_955:Ljava/util/Map;
      server c Lga;c:Ljava/util/Map;
      client c Ljc;c:Ljava/util/Map;
      named rawIdToClass Lnet/minecraft/entity/EntityRegistry;rawIdToClass:Ljava/util/Map;
    • classToRawId

      private static Map classToRawId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_760 Lnet/minecraft/class_206;field_760:Ljava/util/Map;
      glue field_956 Lclass_228;field_956:Ljava/util/Map;
      server d Lga;d:Ljava/util/Map;
      client d Ljc;d:Ljava/util/Map;
      named classToRawId Lnet/minecraft/entity/EntityRegistry;classToRawId:Ljava/util/Map;
  • Constructor Details

    • EntityRegistry

      public EntityRegistry()
  • Method Details

    • register

      private static void register(Class entityClass, String id, int rawId)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_731 Lnet/minecraft/class_206;method_731(Ljava/lang/Class;Ljava/lang/String;I)V
      glue method_1096 Lclass_228;method_1096(Ljava/lang/Class;Ljava/lang/String;I)V
      server a Lga;a(Ljava/lang/Class;Ljava/lang/String;I)V
      client a Ljc;a(Ljava/lang/Class;Ljava/lang/String;I)V
      named register Lnet/minecraft/entity/EntityRegistry;register(Ljava/lang/Class;Ljava/lang/String;I)V
    • create

      public static Entity create(String id, World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_732 Lnet/minecraft/class_206;method_732(Ljava/lang/String;Lnet/minecraft/class_18;)Lnet/minecraft/class_57;
      glue method_1097 Lclass_228;method_1097(Ljava/lang/String;Lclass_129;)Lclass_450;
      server a Lga;a(Ljava/lang/String;Ldj;)Llq;
      client a Ljc;a(Ljava/lang/String;Lfd;)Lsn;
      named create Lnet/minecraft/entity/EntityRegistry;create(Ljava/lang/String;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • getEntityFromNbt

      public static Entity getEntityFromNbt(NbtCompound nbt, World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_730 Lnet/minecraft/class_206;method_730(Lnet/minecraft/class_8;Lnet/minecraft/class_18;)Lnet/minecraft/class_57;
      glue method_1095 Lclass_228;method_1095(Lclass_333;Lclass_129;)Lclass_450;
      server a Lga;a(Liq;Ldj;)Llq;
      client a Ljc;a(Lnu;Lfd;)Lsn;
      named getEntityFromNbt Lnet/minecraft/entity/EntityRegistry;getEntityFromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • create

      @Environment(CLIENT) public static Entity create(int rawId, World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_735 Lnet/minecraft/class_206;method_735(ILnet/minecraft/class_18;)Lnet/minecraft/class_57;
      glue method_1421 Lclass_228;method_1421(ILclass_129;)Lclass_450;
      server method_735 Lga;method_735(ILdj;)Llq;
      client a Ljc;a(ILfd;)Lsn;
      named create Lnet/minecraft/entity/EntityRegistry;create(ILnet/minecraft/world/World;)Lnet/minecraft/entity/Entity;
    • getRawId

      public static int getRawId(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_733 Lnet/minecraft/class_206;method_733(Lnet/minecraft/class_57;)I
      glue method_1098 Lclass_228;method_1098(Lclass_450;)I
      server a Lga;a(Llq;)I
      client a Ljc;a(Lsn;)I
      named getRawId Lnet/minecraft/entity/EntityRegistry;getRawId(Lnet/minecraft/entity/Entity;)I
    • getId

      public static String getId(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_734 Lnet/minecraft/class_206;method_734(Lnet/minecraft/class_57;)Ljava/lang/String;
      glue method_1099 Lclass_228;method_1099(Lclass_450;)Ljava/lang/String;
      server b Lga;b(Llq;)Ljava/lang/String;
      client b Ljc;b(Lsn;)Ljava/lang/String;
      named getId Lnet/minecraft/entity/EntityRegistry;getId(Lnet/minecraft/entity/Entity;)Ljava/lang/String;