Class LegacyHoverEventFix

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

public class LegacyHoverEventFix extends com.mojang.datafixers.DataFix
  • Constructor Summary

    Constructors
    Constructor
    Description
    LegacyHoverEventFix(com.mojang.datafixers.schemas.Schema p_394437_)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private <C, H extends com.mojang.datafixers.util.Pair<String, ?>>
    com.mojang.datafixers.TypeRewriteRule
    createFixer(com.mojang.datafixers.types.Type<C> p_393921_, com.mojang.datafixers.types.Type<H> p_393491_)
     
    private static <H> H
    createPlaceholderHover(com.mojang.datafixers.types.Type<H> p_393539_, com.mojang.serialization.Dynamic<?> p_394275_)
     
    private <H> H
    fixHoverEvent(com.mojang.datafixers.types.Type<H> p_394028_, String p_394084_, com.mojang.serialization.Dynamic<?> p_394517_)
     
    private static <H> H
    fixShowTextHover(com.mojang.datafixers.types.Type<H> p_393521_, com.mojang.serialization.Dynamic<?> p_394195_)
     
    protected com.mojang.datafixers.TypeRewriteRule
     

    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

    • LegacyHoverEventFix

      public LegacyHoverEventFix(com.mojang.datafixers.schemas.Schema p_394437_)
  • Method Details

    • makeRule

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

      private <C, H extends com.mojang.datafixers.util.Pair<String, ?>> com.mojang.datafixers.TypeRewriteRule createFixer(com.mojang.datafixers.types.Type<C> p_393921_, com.mojang.datafixers.types.Type<H> p_393491_)
    • fixHoverEvent

      private <H> H fixHoverEvent(com.mojang.datafixers.types.Type<H> p_394028_, String p_394084_, com.mojang.serialization.Dynamic<?> p_394517_)
    • fixShowTextHover

      private static <H> H fixShowTextHover(com.mojang.datafixers.types.Type<H> p_393521_, com.mojang.serialization.Dynamic<?> p_394195_)
    • createPlaceholderHover

      private static <H> H createPlaceholderHover(com.mojang.datafixers.types.Type<H> p_393539_, com.mojang.serialization.Dynamic<?> p_394275_)