fix: WorkPoiAI not initialized early

This commit is contained in:
xtex 2023-08-16 10:22:17 +08:00
parent d110d688c6
commit cd40ba58da
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -1,7 +1,6 @@
package quaedam.projection.swarm.ai package quaedam.projection.swarm.ai
import com.google.common.collect.ImmutableList import com.google.common.collect.ImmutableList
import net.minecraft.core.Holder
import net.minecraft.core.registries.Registries import net.minecraft.core.registries.Registries
import net.minecraft.tags.TagKey import net.minecraft.tags.TagKey
import net.minecraft.world.entity.LivingEntity import net.minecraft.world.entity.LivingEntity
@ -11,8 +10,6 @@ import net.minecraft.world.entity.ai.memory.MemoryModuleType
import net.minecraft.world.entity.ai.memory.MemoryStatus import net.minecraft.world.entity.ai.memory.MemoryStatus
import net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities import net.minecraft.world.entity.ai.memory.NearestVisibleLivingEntities
import net.minecraft.world.entity.ai.sensing.SensorType import net.minecraft.world.entity.ai.sensing.SensorType
import net.minecraft.world.entity.ai.village.poi.PoiType
import net.minecraft.world.entity.ai.village.poi.PoiTypes
import net.minecraft.world.entity.monster.Monster import net.minecraft.world.entity.monster.Monster
import net.minecraft.world.entity.schedule.Activity import net.minecraft.world.entity.schedule.Activity
import net.minecraft.world.entity.schedule.Schedule import net.minecraft.world.entity.schedule.Schedule
@ -55,6 +52,7 @@ object ProjectedPersonAI {
init { init {
BedInChunkSensor BedInChunkSensor
AmusementAI AmusementAI
WorkPoiAI
NearestVisibleContainer NearestVisibleContainer
} }