Class MemoryQueryResult<F extends com.mojang.datafixers.kinds.K1,Value>

java.lang.Object
net.minecraft.entity.ai.brain.MemoryQueryResult<F,Value>

public final class MemoryQueryResult<F extends com.mojang.datafixers.kinds.K1,Value> extends Object
See Also:
Mappings:
Namespace Name
official bok
intermediary net/minecraft/class_7906
named net/minecraft/entity/ai/brain/MemoryQueryResult
  • Field Details

    • brain

      private final Brain<?> brain
      Mappings:
      Namespace Name Mixin selector
      official a Lbok;a:Lbkg;
      intermediary field_41025 Lnet/minecraft/class_7906;field_41025:Lnet/minecraft/class_4095;
      named brain Lnet/minecraft/entity/ai/brain/MemoryQueryResult;brain:Lnet/minecraft/entity/ai/brain/Brain;
    • memory

      private final MemoryModuleType<Value> memory
      Mappings:
      Namespace Name Mixin selector
      official b Lbok;b:Lbsh;
      intermediary field_41026 Lnet/minecraft/class_7906;field_41026:Lnet/minecraft/class_4140;
      named memory Lnet/minecraft/entity/ai/brain/MemoryQueryResult;memory:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • value

      private final com.mojang.datafixers.kinds.App<F extends com.mojang.datafixers.kinds.K1,Value> value
      Mappings:
      Namespace Name Mixin selector
      official c Lbok;c:Lcom/mojang/datafixers/kinds/App;
      intermediary field_41027 Lnet/minecraft/class_7906;field_41027:Lcom/mojang/datafixers/kinds/App;
      named value Lnet/minecraft/entity/ai/brain/MemoryQueryResult;value:Lcom/mojang/datafixers/kinds/App;
  • Constructor Details

    • MemoryQueryResult

      public MemoryQueryResult(Brain<?> brain, MemoryModuleType<Value> memory, com.mojang.datafixers.kinds.App<F,Value> value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbok;<init>(Lbkg;Lbsh;Lcom/mojang/datafixers/kinds/App;)V
      intermediary <init> Lnet/minecraft/class_7906;<init>(Lnet/minecraft/class_4095;Lnet/minecraft/class_4140;Lcom/mojang/datafixers/kinds/App;)V
      named <init> Lnet/minecraft/entity/ai/brain/MemoryQueryResult;<init>(Lnet/minecraft/entity/ai/brain/Brain;Lnet/minecraft/entity/ai/brain/MemoryModuleType;Lcom/mojang/datafixers/kinds/App;)V
  • Method Details

    • getValue

      public com.mojang.datafixers.kinds.App<F,Value> getValue()
      Mappings:
      Namespace Name Mixin selector
      official a Lbok;a()Lcom/mojang/datafixers/kinds/App;
      intermediary method_47248 Lnet/minecraft/class_7906;method_47248()Lcom/mojang/datafixers/kinds/App;
      named getValue Lnet/minecraft/entity/ai/brain/MemoryQueryResult;getValue()Lcom/mojang/datafixers/kinds/App;
    • remember

      public void remember(Value value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbok;a(Ljava/lang/Object;)V
      intermediary method_47249 Lnet/minecraft/class_7906;method_47249(Ljava/lang/Object;)V
      named remember Lnet/minecraft/entity/ai/brain/MemoryQueryResult;remember(Ljava/lang/Object;)V
    • remember

      public void remember(Optional<Value> value)
      Mappings:
      Namespace Name Mixin selector
      official a Lbok;a(Ljava/util/Optional;)V
      intermediary method_47251 Lnet/minecraft/class_7906;method_47251(Ljava/util/Optional;)V
      named remember Lnet/minecraft/entity/ai/brain/MemoryQueryResult;remember(Ljava/util/Optional;)V
    • remember

      public void remember(Value value, long expiry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbok;a(Ljava/lang/Object;J)V
      intermediary method_47250 Lnet/minecraft/class_7906;method_47250(Ljava/lang/Object;J)V
      named remember Lnet/minecraft/entity/ai/brain/MemoryQueryResult;remember(Ljava/lang/Object;J)V
    • forget

      public void forget()
      Mappings:
      Namespace Name Mixin selector
      official b Lbok;b()V
      intermediary method_47252 Lnet/minecraft/class_7906;method_47252()V
      named forget Lnet/minecraft/entity/ai/brain/MemoryQueryResult;forget()V