Package net.minecraft.util.datafix.fixes
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate <T> com.mojang.serialization.Dynamic
<T> fix
(com.mojang.serialization.Dynamic<T> p_341243_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
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
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
-
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 classcom.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
-
updateBlock
private <T> com.mojang.serialization.Dynamic<T> updateBlock(com.mojang.serialization.Dynamic<T> p_341247_, String p_341412_) -
parseBlockProperties
-
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_)
-