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
named net/minecraft/datafixer/fix/AddFlagIfNotPresentFix
intermediary net/minecraft/class_6636
official bca
  • 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 outputSchema, 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
      named description Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;description:Ljava/lang/String;
      intermediary field_35009 Lnet/minecraft/class_6636;field_35009:Ljava/lang/String;
      official a Lbca;a:Ljava/lang/String;
    • value

      private final boolean value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;value:Z
      intermediary field_35010 Lnet/minecraft/class_6636;field_35010:Z
      official b Lbca;b:Z
    • key

      private final String key
      Mappings:
      Namespace Name Mixin selector
      named key Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;key:Ljava/lang/String;
      intermediary field_35011 Lnet/minecraft/class_6636;field_35011:Ljava/lang/String;
      official c Lbca;c:Ljava/lang/String;
    • typeReference

      private final com.mojang.datafixers.DSL.TypeReference typeReference
      Mappings:
      Namespace Name Mixin selector
      named typeReference Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
      intermediary field_35012 Lnet/minecraft/class_6636;field_35012:Lcom/mojang/datafixers/DSL$TypeReference;
      official d Lbca;d: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
      named <init> Lnet/minecraft/datafixer/fix/AddFlagIfNotPresentFix;<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
      official <init> Lbca;<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