Package net.minecraft.datafixer.fix
Class ProjectileItemTypeFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.ProjectileItemTypeFix
public class ProjectileItemTypeFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name named net/minecraft/datafixer/fix/ProjectileItemTypeFix
intermediary net/minecraft/class_8918
official bdv
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Function
<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> createFixApplier
(String id, ProjectileItemTypeFix.Fixer<?> fixer) private static <T> Function
<com.mojang.datafixers.Typed<?>, com.mojang.datafixers.Typed<?>> createFixApplier
(String id, ProjectileItemTypeFix.Fixer<?> fixer, com.mojang.datafixers.types.Type<?> inputType, com.mojang.datafixers.types.Type<T> outputType) private static com.mojang.serialization.Dynamic
<?> createStack
(com.mojang.serialization.Dynamic<?> projectileData, String id) private static <T> com.mojang.datafixers.Typed
<T> fixArrow
(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) private static <T> com.mojang.datafixers.Typed
<T> fixSpectralArrow
(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) private static <T> com.mojang.datafixers.Typed
<T> fixTrident
(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) private static String
getArrowId
(com.mojang.serialization.Dynamic<?> arrowData) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
-
EMPTY_ID
- See Also:
- Mappings:
Namespace Name Mixin selector named EMPTY_ID
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;EMPTY_ID:Ljava/lang/String;
intermediary field_46959
Lnet/minecraft/class_8918;field_46959:Ljava/lang/String;
official a
Lbdv;a:Ljava/lang/String;
-
-
Constructor Details
-
ProjectileItemTypeFix
public ProjectileItemTypeFix(com.mojang.datafixers.schemas.Schema outputSchema) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
intermediary <init>
Lnet/minecraft/class_8918;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
official <init>
Lbdv;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
createFixApplier
private Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> createFixApplier(String id, ProjectileItemTypeFix.Fixer<?> fixer) - Mappings:
Namespace Name Mixin selector named createFixApplier
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;createFixApplier(Ljava/lang/String;Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix$Fixer;)Ljava/util/function/Function;
intermediary method_54733
Lnet/minecraft/class_8918;method_54733(Ljava/lang/String;Lnet/minecraft/class_8918$class_8919;)Ljava/util/function/Function;
official a
Lbdv;a(Ljava/lang/String;Lbdv$a;)Ljava/util/function/Function;
-
createFixApplier
private static <T> Function<com.mojang.datafixers.Typed<?>,com.mojang.datafixers.Typed<?>> createFixApplier(String id, ProjectileItemTypeFix.Fixer<?> fixer, com.mojang.datafixers.types.Type<?> inputType, com.mojang.datafixers.types.Type<T> outputType) - Mappings:
Namespace Name Mixin selector named createFixApplier
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;createFixApplier(Ljava/lang/String;Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix$Fixer;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Ljava/util/function/Function;
intermediary method_54734
Lnet/minecraft/class_8918;method_54734(Ljava/lang/String;Lnet/minecraft/class_8918$class_8919;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Ljava/util/function/Function;
official a
Lbdv;a(Ljava/lang/String;Lbdv$a;Lcom/mojang/datafixers/types/Type;Lcom/mojang/datafixers/types/Type;)Ljava/util/function/Function;
-
fixArrow
private static <T> com.mojang.datafixers.Typed<T> fixArrow(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) - Mappings:
Namespace Name Mixin selector named fixArrow
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;fixArrow(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
intermediary method_54729
Lnet/minecraft/class_8918;method_54729(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
official a
Lbdv;a(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
-
getArrowId
- Mappings:
Namespace Name Mixin selector named getArrowId
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;getArrowId(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
intermediary method_54730
Lnet/minecraft/class_8918;method_54730(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
official a
Lbdv;a(Lcom/mojang/serialization/Dynamic;)Ljava/lang/String;
-
fixSpectralArrow
private static <T> com.mojang.datafixers.Typed<T> fixSpectralArrow(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) - Mappings:
Namespace Name Mixin selector named fixSpectralArrow
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;fixSpectralArrow(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
intermediary method_54737
Lnet/minecraft/class_8918;method_54737(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
official b
Lbdv;b(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
-
createStack
private static com.mojang.serialization.Dynamic<?> createStack(com.mojang.serialization.Dynamic<?> projectileData, String id) - Mappings:
Namespace Name Mixin selector named createStack
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;createStack(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
intermediary method_54731
Lnet/minecraft/class_8918;method_54731(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
official a
Lbdv;a(Lcom/mojang/serialization/Dynamic;Ljava/lang/String;)Lcom/mojang/serialization/Dynamic;
-
fixTrident
private static <T> com.mojang.datafixers.Typed<T> fixTrident(com.mojang.datafixers.Typed<?> typed, com.mojang.datafixers.types.Type<T> type) - Mappings:
Namespace Name Mixin selector named fixTrident
Lnet/minecraft/datafixer/fix/ProjectileItemTypeFix;fixTrident(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
intermediary method_54740
Lnet/minecraft/class_8918;method_54740(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
official c
Lbdv;c(Lcom/mojang/datafixers/Typed;Lcom/mojang/datafixers/types/Type;)Lcom/mojang/datafixers/Typed;
-