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_342003_)
     
  • Method Summary

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

    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_342003_)
  • Method Details

    • fix

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

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