Class EntityHealthFix

java.lang.Object
com.mojang.datafixers.DataFix
net.minecraft.datafixer.fix.EntityHealthFix

public class EntityHealthFix extends com.mojang.datafixers.DataFix
Mappings:
Namespace Name
official ajj
intermediary net/minecraft/class_3600
named net/minecraft/datafixer/fix/EntityHealthFix
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static Set<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EntityHealthFix​(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.Dynamic<?>
    fixHealth​(com.mojang.serialization.Dynamic<?> dynamic)
     
    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
  • Field Details

    • ENTITIES

      private static final Set<String> ENTITIES
      Mappings:
      Namespace Name Mixin selector
      official a Lajj;a:Ljava/util/Set;
      intermediary field_15894 Lnet/minecraft/class_3600;field_15894:Ljava/util/Set;
      named ENTITIES Lnet/minecraft/datafixer/fix/EntityHealthFix;ENTITIES:Ljava/util/Set;
  • Constructor Details

    • EntityHealthFix

      public EntityHealthFix(com.mojang.datafixers.schemas.Schema outputSchema, boolean changesType)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lajj;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      intermediary <init> Lnet/minecraft/class_3600;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
      named <init> Lnet/minecraft/datafixer/fix/EntityHealthFix;<init>(Lcom/mojang/datafixers/schemas/Schema;Z)V
  • Method Details

    • fixHealth

      public com.mojang.serialization.Dynamic<?> fixHealth(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lajj;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      intermediary method_15704 Lnet/minecraft/class_3600;method_15704(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
      named fixHealth Lnet/minecraft/datafixer/fix/EntityHealthFix;fixHealth(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • makeRule

      public com.mojang.datafixers.TypeRewriteRule makeRule()
      Specified by:
      makeRule in class com.mojang.datafixers.DataFix