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

    Modifier and Type
    Method
    Description
    private <T> com.mojang.serialization.Dynamic<T>
    fix(com.mojang.serialization.Dynamic<T> p_329773_)
     
    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_328751_, String p_332614_)
     
    private static CompoundTag
    parseTag(String p_328375_)
     
    private static <T> com.mojang.serialization.Dynamic<T>
    readVector(com.mojang.serialization.Dynamic<T> p_333163_, com.mojang.brigadier.StringReader p_332387_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateBlock(com.mojang.serialization.Dynamic<T> p_330510_, String p_334026_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateDust(com.mojang.serialization.Dynamic<T> p_335964_, String p_335720_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateDustTransition(com.mojang.serialization.Dynamic<T> p_328807_, String p_329378_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateItem(com.mojang.serialization.Dynamic<T> p_336140_, String p_328811_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateSculkCharge(com.mojang.serialization.Dynamic<T> p_335265_, String p_329894_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateShriek(com.mojang.serialization.Dynamic<T> p_330969_, String p_330514_)
     
    private <T> com.mojang.serialization.Dynamic<T>
    updateVibration(com.mojang.serialization.Dynamic<T> p_333915_, String p_333536_)
     

    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_328690_)
  • 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_329773_)
    • updateItem

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

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

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

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

      private static <T> com.mojang.serialization.Dynamic<T> readVector(com.mojang.serialization.Dynamic<T> p_333163_, com.mojang.brigadier.StringReader p_332387_) 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_335964_, String p_335720_)
    • updateDustTransition

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

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

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

      private <T> com.mojang.serialization.Dynamic<T> updateShriek(com.mojang.serialization.Dynamic<T> p_330969_, String p_330514_)