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 axh
intermediary net/minecraft/class_1189
named net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionItemInstanceSpawnEggFix
(com.mojang.datafixers.schemas.Schema outputSchema, 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
Laxh;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
Laxh;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 outputSchema, boolean changesType, String spawnEggId) - Mappings:
Namespace Name Mixin selector official <init>
Laxh;<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
-