Class ParticleUnflatteningFix

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

public class ParticleUnflatteningFix extends com.mojang.datafixers.DataFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParticleUnflatteningFix(com.mojang.datafixers.schemas.Schema p_340896_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_341243_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     
    private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>>
    parseBlockProperties(com.mojang.serialization.Dynamic<T> p_341040_, String p_341381_)
     
    private static CompoundTag
    parseTag(String p_341175_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    readVector(com.mojang.serialization.Dynamic<T> p_340849_, com.mojang.brigadier.StringReader p_340969_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateBlock(com.mojang.serialization.Dynamic<T> p_341247_, String p_341412_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateDust(com.mojang.serialization.Dynamic<T> p_340805_, String p_340908_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateDustTransition(com.mojang.serialization.Dynamic<T> p_341240_, String p_341296_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateItem(com.mojang.serialization.Dynamic<T> p_340826_, String p_340894_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateSculkCharge(com.mojang.serialization.Dynamic<T> p_340987_, String p_340846_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateShriek(com.mojang.serialization.Dynamic<T> p_340938_, String p_341343_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateVibration(com.mojang.serialization.Dynamic<T> p_340954_, String p_341325_)
     

    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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • ParticleUnflatteningFix

      public ParticleUnflatteningFix(com.mojang.datafixers.schemas.Schema p_340896_)
  • Method Details

    • makeRule

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

      private <T> com.mojang.serialization.Dynamic<T> fix(com.mojang.serialization.Dynamic<T> p_341243_)
    • updateItem

      private <T> com.mojang.serialization.Dynamic<T> updateItem(com.mojang.serialization.Dynamic<T> p_340826_, String p_340894_)
    • parseTag

      @Nullable private static CompoundTag parseTag(String p_341175_)
    • updateBlock

      private <T> com.mojang.serialization.Dynamic<T> updateBlock(com.mojang.serialization.Dynamic<T> p_341247_, String p_341412_)
    • parseBlockProperties

      private static <T> Map<com.mojang.serialization.Dynamic<T>,com.mojang.serialization.Dynamic<T>> parseBlockProperties(com.mojang.serialization.Dynamic<T> p_341040_, String p_341381_)
    • readVector

      private static <T> com.mojang.serialization.Dynamic<T> readVector(com.mojang.serialization.Dynamic<T> p_340849_, com.mojang.brigadier.StringReader p_340969_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • updateDust

      private <T> com.mojang.serialization.Dynamic<T> updateDust(com.mojang.serialization.Dynamic<T> p_340805_, String p_340908_)
    • updateDustTransition

      private <T> com.mojang.serialization.Dynamic<T> updateDustTransition(com.mojang.serialization.Dynamic<T> p_341240_, String p_341296_)
    • updateSculkCharge

      private <T> com.mojang.serialization.Dynamic<T> updateSculkCharge(com.mojang.serialization.Dynamic<T> p_340987_, String p_340846_)
    • updateVibration

      private <T> com.mojang.serialization.Dynamic<T> updateVibration(com.mojang.serialization.Dynamic<T> p_340954_, String p_341325_)
    • updateShriek

      private <T> com.mojang.serialization.Dynamic<T> updateShriek(com.mojang.serialization.Dynamic<T> p_340938_, String p_341343_)