Package net.minecraft.datafixer.fix
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
-
Constructor Summary
ConstructorDescriptionItemInstanceSpawnEggFix
(com.mojang.datafixers.schemas.Schema schema, boolean changesType, String spawnEggId) -
Method Summary
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
-
Field Details
-
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
- 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 classcom.mojang.datafixers.DataFix
-