Class RemoveFeatureTogglesFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.RemoveFeatureTogglesFix

public class RemoveFeatureTogglesFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official atn
intermediary net/minecraft/class_8223
named net/minecraft/datafixer/fix/RemoveFeatureTogglesFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final Set<String>
     
    private final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemoveFeatureTogglesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, Set<String> featureToggleIds)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.mojang.datafixers.TypeRewriteRule
     
    private <T> com.mojang.serialization.Dynamic<T>
    removeFeatureToggles(com.mojang.serialization.Dynamic<T> dynamic)
     

    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

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official a Latn;a:Ljava/lang/String;
      intermediary field_43176 Lnet/minecraft/class_8223;field_43176:Ljava/lang/String;
      named name Lnet/minecraft/datafixer/fix/RemoveFeatureTogglesFix;name:Ljava/lang/String;
    • featureToggleIds

      private final Set<String> featureToggleIds
      Mappings:
      Namespace Name Mixin selector
      official b Latn;b:Ljava/util/Set;
      intermediary field_43177 Lnet/minecraft/class_8223;field_43177:Ljava/util/Set;
      named featureToggleIds Lnet/minecraft/datafixer/fix/RemoveFeatureTogglesFix;featureToggleIds:Ljava/util/Set;
  • Constructor Details

    • RemoveFeatureTogglesFix

      public RemoveFeatureTogglesFix(com.mojang.datafixers.schemas.Schema outputSchema, String name, Set<String> featureToggleIds)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latn;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_8223;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Set;)V
      named <init> Lnet/minecraft/datafixer/fix/RemoveFeatureTogglesFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Ljava/lang/String;Ljava/util/Set;)V
  • Method Details

    • makeRule

      protected com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix
    • removeFeatureToggles

      private <T> com.mojang.serialization.Dynamic<T> removeFeatureToggles(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Latn;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_49767 Lnet/minecraft/class_8223;method_49767(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named removeFeatureToggles Lnet/minecraft/datafixer/fix/RemoveFeatureTogglesFix;removeFeatureToggles(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;