Class RemoveEmptyItemInSuspiciousBlockFix

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

public class RemoveEmptyItemInSuspiciousBlockFix extends ChoiceWriteReadFix
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/RemoveEmptyItemInSuspiciousBlockFix
intermediary net/minecraft/class_9687
official bgj
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemoveEmptyItemInSuspiciousBlockFix(com.mojang.datafixers.schemas.Schema outputSchema)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    shouldRemoveItem(com.mojang.serialization.Dynamic<?> dynamic)
     
    protected <T> com.mojang.serialization.Dynamic<T>
    transform(com.mojang.serialization.Dynamic<T> data)
     

    Methods inherited from class net.minecraft.datafixer.fix.ChoiceWriteReadFix

    makeRule

    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

    • RemoveEmptyItemInSuspiciousBlockFix

      public RemoveEmptyItemInSuspiciousBlockFix(com.mojang.datafixers.schemas.Schema outputSchema)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/datafixer/fix/RemoveEmptyItemInSuspiciousBlockFix;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      intermediary <init> Lnet/minecraft/class_9687;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
      official <init> Lbgj;<init>(Lcom/mojang/datafixers/schemas/Schema;)V
  • Method Details

    • transform

      protected <T> com.mojang.serialization.Dynamic<T> transform(com.mojang.serialization.Dynamic<T> data)
      Specified by:
      transform in class ChoiceWriteReadFix
      Mappings:
      Namespace Name Mixin selector
      named transform Lnet/minecraft/datafixer/fix/ChoiceWriteReadFix;transform(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_54447 Lnet/minecraft/class_8877;method_54447(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      official a Lbfe;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • shouldRemoveItem

      private static boolean shouldRemoveItem(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      named shouldRemoveItem Lnet/minecraft/datafixer/fix/RemoveEmptyItemInSuspiciousBlockFix;shouldRemoveItem(Lcom/mojang/serialization/Dynamic;)Z
      intermediary method_59889 Lnet/minecraft/class_9687;method_59889(Lcom/mojang/serialization/Dynamic;)Z
      official b Lbgj;b(Lcom/mojang/serialization/Dynamic;)Z