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
named net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
intermediary net/minecraft/class_1189
official bgu
  • 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 outputSchema, 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
      named ENTITY_SPAWN_EGGS Lnet/minecraft/datafixer/fix/ItemInstanceSpawnEggFix;ENTITY_SPAWN_EGGS:Ljava/util/Map;
      intermediary field_5685 Lnet/minecraft/class_1189;field_5685:Ljava/util/Map;
      official b Lbgu;b:Ljava/util/Map;
    • spawnEggId

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

    • ItemInstanceSpawnEggFix

      public ItemInstanceSpawnEggFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType, String spawnEggId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/ItemInstanceSpawnEggFix;<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
      official <init> Lbgu;<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