Class IglooMetadataRemovalFix

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

public class IglooMetadataRemovalFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official akm
intermediary net/minecraft/class_1176
named net/minecraft/datafixer/fix/IglooMetadataRemovalFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    IglooMetadataRemovalFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    isIgloo​(com.mojang.serialization.Dynamic<?> dynamic)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static <T> com.mojang.serialization.Dynamic<T>
    removeIgloos​(com.mojang.serialization.Dynamic<T> dynamic)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    removeMetadata​(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
  • Constructor Details

    • IglooMetadataRemovalFix

      public IglooMetadataRemovalFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lakm;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_1176;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/IglooMetadataRemovalFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • makeRule

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

      private static <T> com.mojang.serialization.Dynamic<T> removeMetadata(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lakm;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_4993 Lnet/minecraft/class_1176;method_4993(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named removeMetadata Lnet/minecraft/datafixer/fix/IglooMetadataRemovalFix;removeMetadata(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • removeIgloos

      private static <T> com.mojang.serialization.Dynamic<T> removeIgloos(com.mojang.serialization.Dynamic<T> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official b Lakm;b(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_4996 Lnet/minecraft/class_1176;method_4996(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named removeIgloos Lnet/minecraft/datafixer/fix/IglooMetadataRemovalFix;removeIgloos(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • isIgloo

      private static boolean isIgloo(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official c Lakm;c(Lcom/mojang/serialization/Dynamic;)Z
      intermediary method_4997 Lnet/minecraft/class_1176;method_4997(Lcom/mojang/serialization/Dynamic;)Z
      named isIgloo Lnet/minecraft/datafixer/fix/IglooMetadataRemovalFix;isIgloo(Lcom/mojang/serialization/Dynamic;)Z