Class
net.minecraft.entity.ai.brain.Brain
This description should be content pulled from the first comments of a lua file.
Static Fields
userdata, Logger | Brain.LOGGER | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
Brain.createBrainCodec(memoryModules, sensors) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Brain.createProfile(memoryModules, sensors) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Constructors
Brain(memories, sensors, memoryEntries, codecSupplier) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Instance Methods
instance:clear() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:copy() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:doExclusively(activity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:encode(ops) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:equals(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:forget(type) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getClass() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getFirstPossibleNonCoreActivity() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getMemories() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getMemory(type) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getOptionalMemory(type) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getPossibleActivities() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getRunningTasks() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:getSchedule() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasActivity(activity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasMemoryModule(type) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hasMemoryModuleWithValue(type, value) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:hashCode() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:indexTaskList(begin, tasks) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:isMemoryInState(type, state) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notify() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:notifyAll() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:refreshActivities(timeOfDay, time) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:remember(type, value, startTime) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:remember(type, value) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:remember(type, value) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:resetPossibleActivities(activities) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:resetPossibleActivities() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setCoreActivities(coreActivities) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setDefaultActivity(activity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setMemory(type, memory) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setSchedule(schedule) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setTaskList(activity, begin, tasks, memoryType) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setTaskList(activity, indexedTasks, requiredMemories, forgettingMemories) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setTaskList(activity, indexedTasks, requiredMemories) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setTaskList(activity, indexedTasks) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:setTaskList(activity, begin, list) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:stopAllTasks(world, entity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:streamMemories() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:tick(world, entity) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:toString() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait() | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
instance:wait(arg0, arg1) | This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION" |
Static Methods
- Brain.createBrainCodec(memoryModules, sensors)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- memoryModules userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- sensors userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Codec This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- Brain.createProfile(memoryModules, sensors)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- memoryModules userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- sensors userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Brain$Profile This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
Constructors
- Brain(memories, sensors, memoryEntries, codecSupplier)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- memories userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- sensors userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- memoryEntries userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- codecSupplier userdata, Supplier This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Instance Methods
- instance:clear()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:copy()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Brain This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:doExclusively(activity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:encode(ops)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- ops userdata, DynamicOps This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, DataResult This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:equals(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:forget(type)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:getClass()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Class This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getFirstPossibleNonCoreActivity()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getMemories()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Map This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getMemory(type)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getOptionalMemory(type)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getPossibleActivities()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getRunningTasks()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:getSchedule()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Schedule This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasActivity(activity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasMemoryModule(type)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hasMemoryModuleWithValue(type, value)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- value userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:hashCode()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
int This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:indexTaskList(begin, tasks)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- begin int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- tasks userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:isMemoryInState(type, state)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- state userdata, MemoryModuleState This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
Returns:
boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:notify()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:notifyAll()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:refreshActivities(timeOfDay, time)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- timeOfDay int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- time int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:remember(type, value, startTime)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- value userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- startTime int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:remember(type, value)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- value userdata, Object This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:remember(type, value)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- value userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:resetPossibleActivities(activities)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activities userdata, List This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:resetPossibleActivities()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:setCoreActivities(coreActivities)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- coreActivities userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setDefaultActivity(activity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setMemory(type, memory)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- type userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- memory userdata, Optional This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setSchedule(schedule)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- schedule userdata, Schedule This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setTaskList(activity, begin, tasks, memoryType)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- begin int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- tasks userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- memoryType userdata, MemoryModuleType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setTaskList(activity, indexedTasks, requiredMemories, forgettingMemories)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- indexedTasks userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- requiredMemories userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- forgettingMemories userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setTaskList(activity, indexedTasks, requiredMemories)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- indexedTasks userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- requiredMemories userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setTaskList(activity, indexedTasks)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- indexedTasks userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:setTaskList(activity, begin, list)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- activity userdata, Activity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- begin int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- list userdata, ImmutableList This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:stopAllTasks(world, entity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- world userdata, ServerWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:streamMemories()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:tick(world, entity)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- world userdata, ServerWorld This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- entity userdata, LivingEntity This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:toString()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Returns:
string This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
- instance:wait()
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
- instance:wait(arg0)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- instance:wait(arg0, arg1)
-
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
Parameters:
- arg0 int, long This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
- arg1 int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"