Class ItemInstanceSpawnEggFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ItemInstanceSpawnEggFix

public class ItemInstanceSpawnEggFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official auk
intermediary net/minecraft/class_1189
named net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Map<String,String>
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemInstanceSpawnEggFix(com.mojang.datafixers.schemas.Schema schema, boolean changesType, String spawnEggId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.datafixers.TypeRewriteRule
     

    Methods inherited from class com.mojang.datafixers.DataFix

    checked, convertUnchecked, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhere, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, fixTypeEverywhereTyped, getInputSchema, getOutputSchema, getRule, getVersionKey, onFail, writeAndRead, writeFixAndRead

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ENTITY_SPAWN_EGGS

      private static final Map<String,String> ENTITY_SPAWN_EGGS
      Mappings:
      Namespace Name Mixin selector
      official b Lauk;b:Ljava/util/Map;
      intermediary field_5685 Lnet/minecraft/class_1189;field_5685:Ljava/util/Map;
      named ENTITY_SPAWN_EGGS Lnet/minecraft/datafixer/fix/ItemInstanceSpawnEggFix;ENTITY_SPAWN_EGGS:Ljava/util/Map;
    • spawnEggId

      private final String spawnEggId
      Mappings:
      Namespace Name Mixin selector
      official a Lauk;a:Ljava/lang/String;
      intermediary field_41287 Lnet/minecraft/class_1189;field_41287:Ljava/lang/String;
      named spawnEggId Lnet/minecraft/datafixer/fix/ItemInstanceSpawnEggFix;spawnEggId:Ljava/lang/String;
  • Constructor Details

    • ItemInstanceSpawnEggFix

      public ItemInstanceSpawnEggFix(com.mojang.datafixers.schemas.Schema schema, boolean changesType, String spawnEggId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lauk;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1189;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;)V
      named <init> Lnet/minecraft/datafixer/fix/ItemInstanceSpawnEggFix;<init>(Lcom/mojang/datafixers/schemas/Schema;ZLjava/lang/String;)V
  • Method Details

    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix