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
named net/minecraft/entity/ai/brain/MemoryQueryResult
intermediary net/minecraft/class_7906
official byv
  • Field Details

    • brain

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

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

      private final com.mojang.datafixers.kinds.App<F extends com.mojang.datafixers.kinds.K1,Value> value
      Mappings:
      Namespace Name Mixin selector
      named value Lnet/minecraft/entity/ai/brain/MemoryQueryResult;value:Lcom/mojang/datafixers/kinds/App;
      intermediary field_41027 Lnet/minecraft/class_7906;field_41027:Lcom/mojang/datafixers/kinds/App;
      official c Lbyv;c: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
      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
      intermediary <init> Lnet/minecraft/class_7906;<init>(Lnet/minecraft/class_4095;Lnet/minecraft/class_4140;Lcom/mojang/datafixers/kinds/App;)V
      official <init> Lbyv;<init>(Lbuq;Lccs;Lcom/mojang/datafixers/kinds/App;)V
  • Method Details

    • getValue

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

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

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

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

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