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
named net/minecraft/datafixer/fix/EntityHealthFix
intermediary net/minecraft/class_3600
official bes
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final 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<?> entityDynamic)
     
    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
      named ENTITIES Lnet/minecraft/datafixer/fix/EntityHealthFix;ENTITIES:Ljava/util/Set;
      intermediary field_15894 Lnet/minecraft/class_3600;field_15894:Ljava/util/Set;
      official a Lbes;a:Ljava/util/Set;
  • Constructor Details

    • EntityHealthFix

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

    • fixHealth

      public com.mojang.serialization.Dynamic<?> fixHealth(com.mojang.serialization.Dynamic<?> entityDynamic)
      Mappings:
      Namespace Name Mixin selector
      named fixHealth Lnet/minecraft/datafixer/fix/EntityHealthFix;fixHealth(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;
      official a Lbes;a(Lcom/mojang/serialization/Dynamic;)Lcom/mojang/serialization/Dynamic;
    • makeRule

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