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 aki
intermediary net/minecraft/class_6636
named net/minecraft/datafixer/fix/AddFlagIfNotPresentFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
     
    private final String
     
    private final com.mojang.datafixers.DSL.TypeReference
     
    private final boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AddFlagIfNotPresentFix(com.mojang.datafixers.schemas.Schema schema, com.mojang.datafixers.DSL.TypeReference typeReference, String key, boolean value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • description

      private final String description
      Mappings:
      Namespace Name Mixin selector
      official a Laki;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 Laki;b:Z
      intermediary field_35010 Lnet/minecraft/class_6636;field_35010:Z
      named value Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;value:Z
    • key

      private final String key
      Mappings:
      Namespace Name Mixin selector
      official c Laki;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 Laki;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 schema, com.mojang.datafixers.DSL.TypeReference typeReference, String key, boolean value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laki;<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 class com.mojang.datafixers.DataFix