Package net.minecraft.datafixer.fix
Class AddFlagIfNotPresentFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.AddFlagIfNotPresentFix
public class AddFlagIfNotPresentFix
extends com.mojang.datafixers.DataFix
- Mappings:
Namespace Name official atg
intermediary net/minecraft/class_6636
named net/minecraft/datafixer/fix/AddFlagIfNotPresentFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAddFlagIfNotPresentFix
(com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.DSL.TypeReference typeReference, String key, boolean value) -
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
-
description
- Mappings:
Namespace Name Mixin selector official a
Latg;a:Ljava/lang/String;
intermediary field_35009
Lnet/minecraft/class_6636;field_35009:Ljava/lang/String;
named description
Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;description:Ljava/lang/String;
-
value
private final boolean value- Mappings:
Namespace Name Mixin selector official b
Latg;b:Z
intermediary field_35010
Lnet/minecraft/class_6636;field_35010:Z
named value
Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;value:Z
-
key
- Mappings:
Namespace Name Mixin selector official c
Latg;c:Ljava/lang/String;
intermediary field_35011
Lnet/minecraft/class_6636;field_35011:Ljava/lang/String;
named key
Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;key:Ljava/lang/String;
-
typeReference
private final com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector official d
Latg;d:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_35012
Lnet/minecraft/class_6636;field_35012:Lcom/mojang/datafixers/DSL$TypeReference;
named typeReference
Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
AddFlagIfNotPresentFix
public AddFlagIfNotPresentFix(com.mojang.datafixers.schemas.Schema outputSchema, com.mojang.datafixers.DSL.TypeReference typeReference, String key, boolean value) - Mappings:
Namespace Name Mixin selector official <init>
Latg;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Z)V
intermediary <init>
Lnet/minecraft/class_6636;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Z)V
named <init>
Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Lcom/mojang/datafixers/DSL$TypeReference;Ljava/lang/String;Z)V
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-