Package net.minecraft.datafixer.fix
Class VillagerTradeFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ChoiceFix
net.minecraft.datafixer.fix.VillagerTradeFix
public class VillagerTradeFix extends ChoiceFix
- Mappings:
Namespace Name official alz
intermediary net/minecraft/class_1219
named net/minecraft/datafixer/fix/VillagerTradeFix
-
Constructor Summary
Constructors Constructor Description VillagerTradeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
-
Method Summary
Modifier and Type Method Description private com.mojang.datafixers.Typed<?>
fixPumpkinTrade(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder, com.mojang.datafixers.Typed<?> typed)
protected com.mojang.datafixers.Typed<?>
transform(com.mojang.datafixers.Typed<?> inputType)
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
-
Constructor Details
-
VillagerTradeFix
public VillagerTradeFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)- Mappings:
Namespace Name Mixin selector official <init>
Lalz;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
intermediary <init>
Lnet/minecraft/class_1219;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
named <init>
Lnet/minecraft/datafixer/fix/VillagerTradeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
-
-
Method Details
-
transform
protected com.mojang.datafixers.Typed<?> transform(com.mojang.datafixers.Typed<?> inputType)- Specified by:
transform
in classChoiceFix
- Mappings:
Namespace Name Mixin selector official a
Lako;a(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_5105
Lnet/minecraft/class_1197;method_5105(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
named transform
Lnet/minecraft/datafixer/fix/ChoiceFix;transform(Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-
fixPumpkinTrade
private com.mojang.datafixers.Typed<?> fixPumpkinTrade(com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder, com.mojang.datafixers.Typed<?> typed)- Mappings:
Namespace Name Mixin selector official a
Lalz;a(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
intermediary method_5187
Lnet/minecraft/class_1219;method_5187(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
named fixPumpkinTrade
Lnet/minecraft/datafixer/fix/VillagerTradeFix;fixPumpkinTrade(Lcom/mojang/datafixers/OpticFinder;Lcom/mojang/datafixers/Typed;)Lcom/mojang/datafixers/Typed;
-