Package net.minecraft.util.datafix.fixes
Class AbstractPoiSectionFix
java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.util.datafix.fixes.AbstractPoiSectionFix
- Direct Known Subclasses:
PoiTypeRemoveFix
,PoiTypeRenameFix
public abstract class AbstractPoiSectionFix
extends com.mojang.datafixers.DataFix
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractPoiSectionFix
(com.mojang.datafixers.schemas.Schema p_216536_, String p_216537_) -
Method Summary
Modifier and TypeMethodDescriptionprivate <T> com.mojang.serialization.Dynamic
<T> cap
(com.mojang.serialization.Dynamic<T> p_216541_) protected com.mojang.datafixers.TypeRewriteRule
makeRule()
protected abstract <T> Stream
<com.mojang.serialization.Dynamic<T>> processRecords
(Stream<com.mojang.serialization.Dynamic<T>> p_216547_) private com.mojang.serialization.Dynamic
<?> processSection
(com.mojang.serialization.Dynamic<?> p_216551_) private <T> com.mojang.serialization.Dynamic
<T> processSectionRecords
(com.mojang.serialization.Dynamic<T> p_216553_) 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
-
name
-
-
Constructor Details
-
AbstractPoiSectionFix
-
-
Method Details
-
makeRule
protected com.mojang.datafixers.TypeRewriteRule makeRule()- Specified by:
makeRule
in classcom.mojang.datafixers.DataFix
-
cap
private <T> com.mojang.serialization.Dynamic<T> cap(com.mojang.serialization.Dynamic<T> p_216541_) -
processSection
private com.mojang.serialization.Dynamic<?> processSection(com.mojang.serialization.Dynamic<?> p_216551_) -
processSectionRecords
private <T> com.mojang.serialization.Dynamic<T> processSectionRecords(com.mojang.serialization.Dynamic<T> p_216553_) -
processRecords
-