Uses of Record Class
net.minecraft.core.GlobalPos
Packages that use GlobalPos
Package
Description
-
Uses of GlobalPos in net.minecraft.client.renderer.item
Methods in net.minecraft.client.renderer.item that return GlobalPosModifier and TypeMethodDescriptionCompassItemPropertyFunction.CompassTarget.getPos(ClientLevel level, ItemStack stack, Entity entity) Methods in net.minecraft.client.renderer.item with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate booleanCompassItemPropertyFunction.isValidCompassTargetPos(Entity entity, GlobalPos pos) -
Uses of GlobalPos in net.minecraft.core
Fields in net.minecraft.core with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GlobalPos> GlobalPos.CODECstatic final com.mojang.serialization.MapCodec<GlobalPos> GlobalPos.MAP_CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, GlobalPos> GlobalPos.STREAM_CODECMethods in net.minecraft.core that return GlobalPosModifier and TypeMethodDescriptionstatic GlobalPosGlobalPos.of(ResourceKey<Level> dimension, BlockPos pos) -
Uses of GlobalPos in net.minecraft.network
Methods in net.minecraft.network that return GlobalPosMethods in net.minecraft.network with parameters of type GlobalPos -
Uses of GlobalPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type GlobalPosModifier and TypeFieldDescriptionCommonPlayerSpawnInfo.lastDeathLocationThe field for thelastDeathLocationrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionCommonPlayerSpawnInfo.lastDeathLocation()Returns the value of thelastDeathLocationrecord component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type GlobalPosModifierConstructorDescriptionCommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown) Creates an instance of aCommonPlayerSpawnInforecord class. -
Uses of GlobalPos in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Optional<GlobalPos>> EntityDataSerializers.OPTIONAL_GLOBAL_POS -
Uses of GlobalPos in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionInteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsToClose, Optional<Set<GlobalPos>> doorPositions, ServerLevel level, BlockPos pos) Methods in net.minecraft.world.entity.ai.behavior with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos jobSitePos, Holder<PoiType> poi, Villager poiType) private voidWorkAtComposter.compostItems(ServerLevel level, Villager villager, GlobalPos global, BlockState state) private static booleanInteractWithDoor.isDoorTooFarAway(ServerLevel level, LivingEntity entity, GlobalPos pos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type GlobalPosModifier and TypeMethodDescriptionstatic voidInteractWithDoor.closeDoorsThatIHaveOpenedOrPassedThrough(ServerLevel level, LivingEntity entity, Node previous, Node next, Set<GlobalPos> doorPositions, Optional<List<LivingEntity>> nearestLivingEntities) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> acquirablePois, MemoryModuleType<GlobalPos> existingAbsentMemory, MemoryModuleType<GlobalPos> acquiringMemory, boolean onlyIfAdult, Optional<Byte> entityEventId) SetWalkTargetFromBlockMemory.create(MemoryModuleType<GlobalPos> blockTargetMemory, float speedModifier, int closeEnoughDist, int tooFarDistance, int tooLongUnreachableDuration) static OneShot<PathfinderMob> StrollAroundPoi.create(MemoryModuleType<GlobalPos> poiPosMemory, float speedModifier, int maxDistFromPoi) static BehaviorControl<PathfinderMob> StrollToPoi.create(MemoryModuleType<GlobalPos> poiPosMemory, float speedModifier, int closeEnoughDist, int maxDistFromPoi) static BehaviorControl<Villager> StrollToPoiList.create(MemoryModuleType<List<GlobalPos>> poiListMemory, float speedModifier, int closeEnoughDist, int maxDistFromPoi, MemoryModuleType<GlobalPos> mustBeCloseToMemory) static BehaviorControl<LivingEntity> ValidateNearbyPoi.create(Predicate<Holder<PoiType>> poiValidator, MemoryModuleType<GlobalPos> poiPosMemory) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsToClose, Optional<Set<GlobalPos>> doorPositions, ServerLevel level, BlockPos pos) InteractWithDoor.rememberDoorToClose(MemoryAccessor<com.mojang.datafixers.kinds.OptionalBox.Mu, Set<GlobalPos>> doorsToClose, Optional<Set<GlobalPos>> doorPositions, ServerLevel level, BlockPos pos) -
Uses of GlobalPos in net.minecraft.world.entity.ai.memory
Fields in net.minecraft.world.entity.ai.memory with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final MemoryModuleType<Set<GlobalPos>> MemoryModuleType.DOORS_TO_CLOSEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HIDING_PLACEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.HOMEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.INTERACTABLE_DOORSstatic final MemoryModuleType<GlobalPos> MemoryModuleType.JOB_SITEstatic final MemoryModuleType<GlobalPos> MemoryModuleType.LIKED_NOTEBLOCK_POSITIONstatic final MemoryModuleType<GlobalPos> MemoryModuleType.MEETING_POINTstatic final MemoryModuleType<GlobalPos> MemoryModuleType.POTENTIAL_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.SECONDARY_JOB_SITEstatic final MemoryModuleType<List<GlobalPos>> MemoryModuleType.SNIFFER_EXPLORED_POSITIONS -
Uses of GlobalPos in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type GlobalPosModifier and TypeMethodDescriptionprivate static booleanAllayAi.shouldDepositItemsAtLikedNoteblock(LivingEntity entity, Brain<?> brain, GlobalPos pos) -
Uses of GlobalPos in net.minecraft.world.entity.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer that return types with arguments of type GlobalPos -
Uses of GlobalPos in net.minecraft.world.entity.npc
Fields in net.minecraft.world.entity.npc with type parameters of type GlobalPosModifier and TypeFieldDescriptionstatic final Map<MemoryModuleType<GlobalPos>, BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIESMethod parameters in net.minecraft.world.entity.npc with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidVillager.releasePoi(MemoryModuleType<GlobalPos> moduleType) -
Uses of GlobalPos in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type GlobalPosMethods in net.minecraft.world.entity.player that return types with arguments of type GlobalPosMethod parameters in net.minecraft.world.entity.player with type arguments of type GlobalPosModifier and TypeMethodDescriptionvoidPlayer.setLastDeathLocation(Optional<GlobalPos> lastDeathLocation) -
Uses of GlobalPos in net.minecraft.world.item
Methods in net.minecraft.world.item that return GlobalPos -
Uses of GlobalPos in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type GlobalPosModifier and TypeFieldDescriptionLodestoneTracker.targetThe field for thetargetrecord component.Methods in net.minecraft.world.item.component that return types with arguments of type GlobalPosModifier and TypeMethodDescriptionLodestoneTracker.target()Returns the value of thetargetrecord component.Constructor parameters in net.minecraft.world.item.component with type arguments of type GlobalPosModifierConstructorDescriptionLodestoneTracker(Optional<GlobalPos> target, boolean tracked) Creates an instance of aLodestoneTrackerrecord class.