Class RemoveEmptyItemInBrushableBlockFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix
net.minecraft.util.datafix.fixes.RemoveEmptyItemInBrushableBlockFix

public class RemoveEmptyItemInBrushableBlockFix extends NamedEntityWriteReadFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    RemoveEmptyItemInBrushableBlockFix(com.mojang.datafixers.schemas.Schema p_328124_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_330310_)
     
    private static boolean
    isEmptyStack(com.mojang.serialization.Dynamic<?> p_328874_)
     

    Methods inherited from class net.minecraft.util.datafix.fixes.NamedEntityWriteReadFix

    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

    • RemoveEmptyItemInBrushableBlockFix

      public RemoveEmptyItemInBrushableBlockFix(com.mojang.datafixers.schemas.Schema p_328124_)
  • Method Details

    • fix

      protected <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_330310_)
      Specified by:
      fix in class NamedEntityWriteReadFix
    • isEmptyStack

      private static boolean isEmptyStack(com.mojang.serialization.Dynamic<?> p_328874_)