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 named net/minecraft/datafixer/fix/ItemInstanceSpawnEggFix
intermediary net/minecraft/class_1189
official bfa
-
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 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
Lbfa;b:Ljava/util/Map;
-
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
Lbfa;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>
Lbfa;<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
-