Package net.minecraft

Record Class class_12006

java.lang.Object
java.lang.Record
net.minecraft.class_12006
Record Components:
name -
profession -
xp -
health -
maxHealth -
inventory -
wantsGolem -
angerLevel -
activities -
behaviors -
memories -
gossips -
pois -
potentialPois -

public record class_12006(String name, String profession, int xp, float health, float maxHealth, String inventory, boolean wantsGolem, int angerLevel, List<String> activities, List<String> behaviors, List<String> memories, List<String> gossips, Set<BlockPos> pois, Set<BlockPos> potentialPois) extends Record
Mappings:
Namespace Name
named net/minecraft/class_12006
intermediary net/minecraft/class_12006
official bvd
named name
intermediary comp_4838
official b
named profession
intermediary comp_4839
official c
named xp
intermediary comp_4840
official d
named health
intermediary comp_4841
official e
named maxHealth
intermediary comp_4842
official f
named inventory
intermediary comp_4843
official g
named wantsGolem
intermediary comp_4844
official h
named angerLevel
intermediary comp_4845
official i
named activities
intermediary comp_4846
official j
named behaviors
intermediary comp_4847
official k
named memories
intermediary comp_4848
official l
named gossips
intermediary comp_4849
official m
named pois
intermediary comp_4850
official n
named potentialPois
intermediary comp_4851
official o
  • Field Details

    • name

      private final String name
      The field for the name record component.
    • profession

      private final String profession
      The field for the profession record component.
    • xp

      private final int xp
      The field for the xp record component.
    • health

      private final float health
      The field for the health record component.
    • maxHealth

      private final float maxHealth
      The field for the maxHealth record component.
    • inventory

      private final String inventory
      The field for the inventory record component.
    • wantsGolem

      private final boolean wantsGolem
      The field for the wantsGolem record component.
    • angerLevel

      private final int angerLevel
      The field for the angerLevel record component.
    • activities

      private final List<String> activities
      The field for the activities record component.
    • behaviors

      private final List<String> behaviors
      The field for the behaviors record component.
    • memories

      private final List<String> memories
      The field for the memories record component.
    • gossips

      private final List<String> gossips
      The field for the gossips record component.
    • pois

      private final Set<BlockPos> pois
      The field for the pois record component.
    • potentialPois

      private final Set<BlockPos> potentialPois
      The field for the potentialPois record component.
    • field_62845

      public static final PacketCodec<PacketByteBuf,class_12006> field_62845
      Mappings:
      Namespace Name Mixin selector
      named field_62845 Lnet/minecraft/class_12006;field_62845:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62845 Lnet/minecraft/class_12006;field_62845:Lnet/minecraft/class_9139;
      official a Lbvd;a:Laae;
  • Constructor Details

  • Method Details

    • method_74560

      public void method_74560(PacketByteBuf packetByteBuf)
      Mappings:
      Namespace Name Mixin selector
      named method_74560 Lnet/minecraft/class_12006;method_74560(Lnet/minecraft/network/PacketByteBuf;)V
      intermediary method_74560 Lnet/minecraft/class_12006;method_74560(Lnet/minecraft/class_2540;)V
      official a Lbvd;a(Lwn;)V
    • method_74551

      public static class_12006 method_74551(ServerWorld serverWorld, LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      named method_74551 Lnet/minecraft/class_12006;method_74551(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/class_12006;
      intermediary method_74551 Lnet/minecraft/class_12006;method_74551(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Lnet/minecraft/class_12006;
      official a Lbvd;a(Lawu;Lcer;)Lbvd;
    • method_74554

      @SafeVarargs private static Set<BlockPos> method_74554(Brain<?> brain, MemoryModuleType<GlobalPos>[] memoryModuleType)
      Mappings:
      Namespace Name Mixin selector
      named method_74554 Lnet/minecraft/class_12006;method_74554(Lnet/minecraft/entity/ai/brain/Brain;[Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Ljava/util/Set;
      intermediary method_74554 Lnet/minecraft/class_12006;method_74554(Lnet/minecraft/class_4095;[Lnet/minecraft/class_4140;)Ljava/util/Set;
      official a Lbvd;a(Lcfr;[Lcnu;)Ljava/util/Set;
    • method_74555

      private static List<String> method_74555(VillagerEntity villagerEntity)
      Mappings:
      Namespace Name Mixin selector
      named method_74555 Lnet/minecraft/class_12006;method_74555(Lnet/minecraft/entity/passive/VillagerEntity;)Ljava/util/List;
      intermediary method_74555 Lnet/minecraft/class_12006;method_74555(Lnet/minecraft/class_1646;)Ljava/util/List;
      official a Lbvd;a(Lcyt;)Ljava/util/List;
    • method_74552

      private static Stream<String> method_74552(ServerWorld serverWorld, LivingEntity livingEntity, long long2)
      Mappings:
      Namespace Name Mixin selector
      named method_74552 Lnet/minecraft/class_12006;method_74552(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Ljava/util/stream/Stream;
      intermediary method_74552 Lnet/minecraft/class_12006;method_74552(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Ljava/util/stream/Stream;
      official a Lbvd;a(Lawu;Lcer;J)Ljava/util/stream/Stream;
    • method_74549

      private static String method_74549(ServerWorld serverWorld, long long2, MemoryModuleType<?> memoryModuleType, Optional<? extends Memory<?>> optional)
      Mappings:
      Namespace Name Mixin selector
      named method_74549 Lnet/minecraft/class_12006;method_74549(Lnet/minecraft/server/world/ServerWorld;JLnet/minecraft/entity/ai/brain/MemoryModuleType;Ljava/util/Optional;)Ljava/lang/String;
      intermediary method_74549 Lnet/minecraft/class_12006;method_74549(Lnet/minecraft/class_3218;JLnet/minecraft/class_4140;Ljava/util/Optional;)Ljava/lang/String;
      official a Lbvd;a(Lawu;JLcnu;Ljava/util/Optional;)Ljava/lang/String;
    • method_74553

      private static String method_74553(ServerWorld serverWorld, @Nullable @Nullable Object object)
      Mappings:
      Namespace Name Mixin selector
      named method_74553 Lnet/minecraft/class_12006;method_74553(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/Object;)Ljava/lang/String;
      intermediary method_74553 Lnet/minecraft/class_12006;method_74553(Lnet/minecraft/class_3218;Ljava/lang/Object;)Ljava/lang/String;
      official a Lbvd;a(Lawu;Ljava/lang/Object;)Ljava/lang/String;
    • method_74556

      public boolean method_74556(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named method_74556 Lnet/minecraft/class_12006;method_74556(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_74556 Lnet/minecraft/class_12006;method_74556(Lnet/minecraft/class_2338;)Z
      official a Lbvd;a(Lja;)Z
    • method_74563

      public boolean method_74563(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named method_74563 Lnet/minecraft/class_12006;method_74563(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_74563 Lnet/minecraft/class_12006;method_74563(Lnet/minecraft/class_2338;)Z
      official b Lbvd;b(Lja;)Z
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • profession

      public String profession()
      Returns the value of the profession record component.
      Returns:
      the value of the profession record component
    • xp

      public int xp()
      Returns the value of the xp record component.
      Returns:
      the value of the xp record component
    • health

      public float health()
      Returns the value of the health record component.
      Returns:
      the value of the health record component
    • maxHealth

      public float maxHealth()
      Returns the value of the maxHealth record component.
      Returns:
      the value of the maxHealth record component
    • inventory

      public String inventory()
      Returns the value of the inventory record component.
      Returns:
      the value of the inventory record component
    • wantsGolem

      public boolean wantsGolem()
      Returns the value of the wantsGolem record component.
      Returns:
      the value of the wantsGolem record component
    • angerLevel

      public int angerLevel()
      Returns the value of the angerLevel record component.
      Returns:
      the value of the angerLevel record component
    • activities

      public List<String> activities()
      Returns the value of the activities record component.
      Returns:
      the value of the activities record component
    • behaviors

      public List<String> behaviors()
      Returns the value of the behaviors record component.
      Returns:
      the value of the behaviors record component
    • memories

      public List<String> memories()
      Returns the value of the memories record component.
      Returns:
      the value of the memories record component
    • gossips

      public List<String> gossips()
      Returns the value of the gossips record component.
      Returns:
      the value of the gossips record component
    • pois

      public Set<BlockPos> pois()
      Returns the value of the pois record component.
      Returns:
      the value of the pois record component
    • potentialPois

      public Set<BlockPos> potentialPois()
      Returns the value of the potentialPois record component.
      Returns:
      the value of the potentialPois record component