Uses of Class
net.minecraft.util.dynamic.GlobalPos
Package | Description |
---|---|
net.minecraft.entity.ai.brain | |
net.minecraft.entity.ai.brain.task | |
net.minecraft.entity.passive | |
net.minecraft.util.dynamic |
-
Uses of GlobalPos in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type GlobalPos Modifier and Type Field Description static MemoryModuleType<Set<GlobalPos>>
MemoryModuleType. DOORS_TO_CLOSE
static MemoryModuleType<GlobalPos>
MemoryModuleType. HIDING_PLACE
static MemoryModuleType<GlobalPos>
MemoryModuleType. HOME
static MemoryModuleType<List<GlobalPos>>
MemoryModuleType. INTERACTABLE_DOORS
static MemoryModuleType<GlobalPos>
MemoryModuleType. JOB_SITE
static MemoryModuleType<GlobalPos>
MemoryModuleType. MEETING_POINT
static MemoryModuleType<GlobalPos>
MemoryModuleType. POTENTIAL_JOB_SITE
static MemoryModuleType<List<GlobalPos>>
MemoryModuleType. SECONDARY_JOB_SITE
-
Uses of GlobalPos in net.minecraft.entity.ai.brain.task
Fields in net.minecraft.entity.ai.brain.task declared as GlobalPos Modifier and Type Field Description private @Nullable GlobalPos
GoToSecondaryPositionTask. chosenPosition
Fields in net.minecraft.entity.ai.brain.task with type parameters of type GlobalPos Modifier and Type Field Description private MemoryModuleType<GlobalPos>
VillagerWalkTowardsTask. destination
private MemoryModuleType<GlobalPos>
ForgetCompletedPointOfInterestTask. memoryModule
private MemoryModuleType<GlobalPos>
GoToNearbyPositionTask. memoryModuleType
private MemoryModuleType<GlobalPos>
GoToSecondaryPositionTask. primaryPosition
private MemoryModuleType<List<GlobalPos>>
GoToSecondaryPositionTask. secondaryPositions
private MemoryModuleType<GlobalPos>
GoToIfNearbyTask. target
private MemoryModuleType<GlobalPos>
FindPointOfInterestTask. targetMemoryModuleType
Methods in net.minecraft.entity.ai.brain.task with parameters of type GlobalPos Modifier and Type Method Description private static boolean
OpenDoorsTask. cannotReachDoor(ServerWorld world, LivingEntity entity, GlobalPos doorPos)
private void
FarmerWorkTask. compostSeeds(ServerWorld world, VillagerEntity entity, GlobalPos pos, BlockState composterState)
private boolean
VillagerWalkTowardsTask. dimensionMismatches(ServerWorld world, GlobalPos pos)
private boolean
VillagerWalkTowardsTask. exceedsMaxRange(VillagerEntity villager, GlobalPos pos)
private boolean
WorkStationCompetitionTask. isUsingWorkStationAt(GlobalPos pos, PointOfInterestType poiType, VillagerEntity villager)
private boolean
VillagerWalkTowardsTask. reachedDestination(ServerWorld world, VillagerEntity villager, GlobalPos pos)
Method parameters in net.minecraft.entity.ai.brain.task with type arguments of type GlobalPos Modifier and Type Method Description private static ImmutableMap<MemoryModuleType<?>,MemoryModuleState>
FindPointOfInterestTask. method_29245(MemoryModuleType<GlobalPos> memoryModuleType, MemoryModuleType<GlobalPos> memoryModuleType2)
Constructor parameters in net.minecraft.entity.ai.brain.task with type arguments of type GlobalPos Constructor Description FindPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModuleType, boolean onlyRunIfChild, Optional<Byte> optional)
FindPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModuleType, MemoryModuleType<GlobalPos> targetMemoryModuleType, boolean onlyRunIfChild, Optional<Byte> optional)
ForgetCompletedPointOfInterestTask(PointOfInterestType poiType, MemoryModuleType<GlobalPos> memoryModule)
GoToIfNearbyTask(MemoryModuleType<GlobalPos> target, float float2, int maxDistance)
GoToNearbyPositionTask(MemoryModuleType<GlobalPos> memoryModuleType, float float2, int completionRange, int maxDistance)
GoToSecondaryPositionTask(MemoryModuleType<List<GlobalPos>> secondaryPositions, float speed, int completionRange, int primaryPositionActivationDistance, MemoryModuleType<GlobalPos> primaryPosition)
VillagerWalkTowardsTask(MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxRange, int maxRunTime)
-
Uses of GlobalPos in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type GlobalPos Modifier and Type Field Description static Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity,PointOfInterestType>>
VillagerEntity. POINTS_OF_INTEREST
Method parameters in net.minecraft.entity.passive with type arguments of type GlobalPos Modifier and Type Method Description void
VillagerEntity. releaseTicketFor(MemoryModuleType<GlobalPos> memoryModuleType)
-
Uses of GlobalPos in net.minecraft.util.dynamic
Fields in net.minecraft.util.dynamic with type parameters of type GlobalPos Modifier and Type Field Description static com.mojang.serialization.Codec<GlobalPos>
GlobalPos. CODEC
Methods in net.minecraft.util.dynamic that return GlobalPos Modifier and Type Method Description static GlobalPos
GlobalPos. create(RegistryKey<World> dimension, BlockPos pos)