JavaScript is disabled on your browser.
Methods in net.minecraft.server.world with parameters of type ChunkPos
Modifier and Type
Method
Description
<T> void
ChunkTicketManager. addTicket (ChunkTicketType <T> type,
ChunkPos pos,
int radius,
T argument)
<T> void
ServerChunkManager. addTicket (ChunkTicketType <T> ticketType,
ChunkPos pos,
int radius,
T argument)
Adds a chunk ticket to the ticket manager.
<T> void
ChunkTicketManager. addTicketWithLevel (ChunkTicketType <T> type,
ChunkPos pos,
int level,
T argument)
private static int
ThreadedAnvilChunkStorage. getChebyshevDistance (ChunkPos pos,
int x,
int z)
private static int
ThreadedAnvilChunkStorage. getChebyshevDistance (ChunkPos pos,
ServerPlayerEntity player,
boolean useWatchedPosition)
String
ServerChunkManager. getChunkLoadingDebugInfo (ChunkPos pos)
String
ThreadedAnvilChunkStorage. getChunkLoadingDebugInfo (ChunkPos chunkPos)
Stream <ServerPlayerEntity >
ChunkHolder.PlayersWatchingChunkProvider. getPlayersWatchingChunk (ChunkPos chunkPos,
boolean onlyOnWatchDistanceEdge)
Stream <ServerPlayerEntity >
ThreadedAnvilChunkStorage. getPlayersWatchingChunk (ChunkPos chunkPos,
boolean onlyOnWatchDistanceEdge)
private CompletableFuture <com.mojang.datafixers.util.Either<List <Chunk >,ChunkHolder.Unloaded >>
ThreadedAnvilChunkStorage. getRegion (ChunkPos centerChunk,
int margin,
IntFunction <ChunkStatus > distanceToStatus)
List <ScheduledTick <T >>
ServerTickScheduler. getScheduledTicksInChunk (ChunkPos pos,
boolean updateState,
boolean getStaleTicks)
private static double
ThreadedAnvilChunkStorage. getSquaredDistance (ChunkPos pos,
Entity entity)
private @Nullable NbtCompound
ThreadedAnvilChunkStorage. getUpdatedChunkNbt (ChunkPos pos)
(package private) boolean
ThreadedAnvilChunkStorage. isTooFarFromPlayersToSpawnMobs (ChunkPos chunkPos)
private CompletableFuture <com.mojang.datafixers.util.Either<Chunk ,ChunkHolder.Unloaded >>
ThreadedAnvilChunkStorage. loadChunk (ChunkPos pos)
CompletableFuture <com.mojang.datafixers.util.Either<WorldChunk ,ChunkHolder.Unloaded >>
ThreadedAnvilChunkStorage. makeChunkEntitiesTickable (ChunkPos pos)
private byte
ThreadedAnvilChunkStorage. method_27053 (ChunkPos chunkPos,
ChunkStatus.ChunkType chunkType)
private void
ThreadedAnvilChunkStorage. method_27054 (ChunkPos chunkPos)
private boolean
ThreadedAnvilChunkStorage. method_27055 (ChunkPos chunkPos)
(package private) void
ThreadedAnvilChunkStorage. method_31414 (ChunkPos chunkPos,
ChunkHolder.LevelType levelType)
private static int
ThreadedAnvilChunkStorage. method_34869 (ChunkPos chunkPos,
Entity entity)
protected void
ThreadedAnvilChunkStorage. releaseLightTicket (ChunkPos pos)
<T> void
ChunkTicketManager. removeTicket (ChunkTicketType <T> type,
ChunkPos pos,
int radius,
T argument)
<T> void
ServerChunkManager. removeTicket (ChunkTicketType <T> ticketType,
ChunkPos pos,
int radius,
T argument)
Removes a chunk ticket from the ticket manager.
<T> void
ChunkTicketManager. removeTicketWithLevel (ChunkTicketType <T> type,
ChunkPos pos,
int level,
T argument)
protected void
ThreadedAnvilChunkStorage. sendWatchPackets (ServerPlayerEntity player,
ChunkPos pos,
Packet <?>[] packets,
boolean withinMaxWatchDistance,
boolean withinViewDistance)
protected void
ChunkTicketManager. setChunkForced (ChunkPos pos,
boolean forced)
void
ServerChunkManager. setChunkForced (ChunkPos pos,
boolean forced)
void
ServerLightingProvider. setColumnEnabled (ChunkPos chunkPos,
boolean bool)
void
ServerLightingProvider. setRetainData (ChunkPos pos,
boolean retainData)
boolean
ServerChunkManager. shouldTickChunk (ChunkPos pos)
NbtList
ServerTickScheduler. toNbt (ChunkPos chunkPos)
protected void
ServerLightingProvider. updateChunkStatus (ChunkPos pos)
void
ChunkHolder.LevelUpdateListener. updateLevel (ChunkPos pos,
IntSupplier levelGetter,
int targetLevel,
IntConsumer levelSetter)
void
ChunkTaskPrioritySystem. updateLevel (ChunkPos pos,
IntSupplier levelGetter,
int targetLevel,
IntConsumer levelSetter)
protected void
LevelPrioritizedQueue. updateLevel (int fromLevel,
ChunkPos pos,
int toLevel)
void
ServerEntityManager. updateTrackingStatus (ChunkPos chunkPos,
ChunkHolder.LevelType levelType)
Updates the tracking status of tracking sections in a chunk at
chunkPos
given the levelType
.
void
ServerEntityManager. updateTrackingStatus (ChunkPos chunkPos,
EntityTrackingStatus trackingStatus)
Updates the trackingStatus
of tracking sections in a chunk
at chunkPos
.
Methods in net.minecraft.structure with parameters of type ChunkPos
Modifier and Type
Method
Description
boolean
BuriedTreasureGenerator.Piece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
DesertTempleGenerator. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
IglooGenerator.Piece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
JungleTempleGenerator. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
MineshaftGenerator.MineshaftCorridor. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
MineshaftGenerator.MineshaftCrossing. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
MineshaftGenerator.MineshaftRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
MineshaftGenerator.MineshaftStairs. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.Bridge. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.BridgeCrossing. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.BridgeEnd. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.BridgePlatform. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.BridgeSmallCrossing. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.BridgeStairs. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorBalcony. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorCrossing. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorExit. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorLeftTurn. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorNetherWartsRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorRightTurn. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.CorridorStairs. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFortressGenerator.SmallCorridor. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
NetherFossilGenerator.Piece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.Base. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.CoreRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.DoubleXYRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.DoubleYZRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.DoubleZRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.Entry. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.Penthouse. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.SimpleRoomTop. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanMonumentGenerator.WingRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
OceanRuinGenerator.Piece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
PoolStructurePiece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
RuinedPortalStructurePiece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
ShipwreckGenerator.Piece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
SimpleStructurePiece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.ChestCorridor. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.Corridor. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.FiveWayCrossing. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.LeftTurn. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.Library. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.PortalRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.PrisonHall. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.RightTurn. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.SmallCorridor. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.SpiralStaircase. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.SquareRoom. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
StrongholdGenerator.Stairs. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
abstract boolean
StructurePiece. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
boolean
SwampHutGenerator. generate (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos pos)
void
StructureStart. generateStructure (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox box,
ChunkPos chunkPos)
abstract void
StructureStart. init (DynamicRegistryManager registryManager,
ChunkGenerator chunkGenerator,
StructureManager manager,
ChunkPos pos,
Biome biome,
C config,
HeightLimitView world)
boolean
StructurePiece. intersectsChunk (ChunkPos pos,
int offset)
NbtCompound
StructureStart. toNbt (ServerWorld world,
ChunkPos chunkPos)
Methods in net.minecraft.world with parameters of type ChunkPos
Modifier and Type
Method
Description
static ProtoChunk
ChunkSerializer. deserialize (ServerWorld world,
StructureManager structureManager,
PointOfInterestStorage poiStorage,
ChunkPos pos,
NbtCompound nbt)
private NbtCompound
FeatureUpdater. getUpdatedStarts (NbtCompound nbt,
ChunkPos pos)
static void
SpawnHelper. populateEntities (ServerWorldAccess world,
Biome biome,
ChunkPos chunkPos,
Random random)
private static Map <StructureFeature <?>,LongSet >
ChunkSerializer. readStructureReferences (ChunkPos pos,
NbtCompound nbt)
private static NbtCompound
ChunkSerializer. writeStructures (ServerWorld serverWorld,
ChunkPos chunkPos,
Map <StructureFeature <?>,StructureStart <?>> map,
Map <StructureFeature <?>,LongSet > map2)
Constructors in net.minecraft.world.chunk with parameters of type ChunkPos
Constructor
Description
EmptyChunk (World world,
ChunkPos pos)
ProtoChunk (ChunkPos pos,
UpgradeData upgradeData,
@Nullable ChunkSection [] chunkSection,
ChunkTickScheduler <Block > blockTickScheduler,
ChunkTickScheduler <Fluid > fluidTickScheduler,
HeightLimitView world)
ProtoChunk (ChunkPos pos,
UpgradeData upgradeData,
HeightLimitView world)
WorldChunk (World world,
ChunkPos pos,
BiomeArray biomes)
WorldChunk (World world,
ChunkPos pos,
BiomeArray biomes,
UpgradeData upgradeData,
TickScheduler <Block > blockTickScheduler,
TickScheduler <Fluid > fluidTickScheduler,
long inhabitedTime,
@Nullable ChunkSection [] sections,
@Nullable Consumer <WorldChunk > loadToWorldConsumer)
Methods in net.minecraft.world.gen.carver with parameters of type ChunkPos
Modifier and Type
Method
Description
protected static boolean
Carver. canCarveBranch (ChunkPos pos,
double x,
double z,
int branchIndex,
int branchCount,
float baseWidth)
abstract boolean
Carver. carve (CarverContext context,
C config,
Chunk chunk,
Function <BlockPos ,Biome > posToBiome,
Random random,
int seaLevel,
ChunkPos pos,
BitSet carvingMask)
boolean
CaveCarver. carve (CarverContext carverContext,
class_6108 class_6108,
Chunk chunk,
Function <BlockPos ,Biome > function,
Random random,
int int2,
ChunkPos chunkPos,
BitSet bitSet)
boolean
ConfiguredCarver. carve (CarverContext context,
Chunk chunk,
Function <BlockPos ,Biome > posToBiome,
Random random,
int chunkX,
ChunkPos pos,
BitSet carvingMask)
boolean
RavineCarver. carve (CarverContext carverContext,
RavineCarverConfig ravineCarverConfig,
Chunk chunk,
Function <BlockPos ,Biome > function,
Random random,
int int2,
ChunkPos chunkPos,
BitSet bitSet)
Methods in net.minecraft.world.gen.feature with parameters of type ChunkPos
Modifier and Type
Method
Description
StructureStart <C >
StructureFeature.StructureStartFactory. create (StructureFeature <C > feature,
ChunkPos pos,
int int2,
long long2)
private StructureStart <C >
StructureFeature. createStart (ChunkPos pos,
int int2,
long long2)
void
WoodlandMansionFeature.Start. generateStructure (StructureWorldAccess world,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox box,
ChunkPos chunkPos)
private static int
EndCityFeature. getGenerationHeight (ChunkPos chunkPos,
ChunkGenerator chunkGenerator,
HeightLimitView heightLimitView)
void
BuriedTreasureFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
ProbabilityConfig probabilityConfig,
HeightLimitView heightLimitView)
void
DesertPyramidFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
EndCityFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
IglooFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
JigsawFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
StructurePoolFeatureConfig structurePoolFeatureConfig,
HeightLimitView heightLimitView)
void
JungleTempleFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
MineshaftFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
MineshaftFeatureConfig mineshaftFeatureConfig,
HeightLimitView heightLimitView)
void
NetherFortressFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
NetherFossilFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
OceanMonumentFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
OceanRuinFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
OceanRuinFeatureConfig oceanRuinFeatureConfig,
HeightLimitView heightLimitView)
void
RuinedPortalFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
RuinedPortalFeatureConfig ruinedPortalFeatureConfig,
HeightLimitView heightLimitView)
void
ShipwreckFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
ShipwreckFeatureConfig shipwreckFeatureConfig,
HeightLimitView heightLimitView)
void
StrongholdFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
SwampHutFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
void
WoodlandMansionFeature.Start. init (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator chunkGenerator,
StructureManager structureManager,
ChunkPos chunkPos,
Biome biome,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
private boolean
PillagerOutpostFeature. isVillageNearby (ChunkGenerator generator,
long worldSeed,
ChunkRandom random,
ChunkPos pos)
protected boolean
BastionRemnantFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
StructurePoolFeatureConfig structurePoolFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
BuriedTreasureFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
ProbabilityConfig probabilityConfig,
HeightLimitView heightLimitView)
protected boolean
EndCityFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
MineshaftFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
MineshaftFeatureConfig mineshaftFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
NetherFortressFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
OceanMonumentFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
PillagerOutpostFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
StructurePoolFeatureConfig structurePoolFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
StrongholdFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
protected boolean
StructureFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long worldSeed,
ChunkRandom random,
ChunkPos pos,
Biome biome,
ChunkPos chunkPos,
C config,
HeightLimitView world)
protected boolean
WoodlandMansionFeature. shouldStartAt (ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
long long2,
ChunkRandom chunkRandom,
ChunkPos chunkPos,
Biome biome,
ChunkPos chunkPos2,
DefaultFeatureConfig defaultFeatureConfig,
HeightLimitView heightLimitView)
StructureStart <?>
ConfiguredStructureFeature. tryPlaceStart (DynamicRegistryManager registryManager,
ChunkGenerator chunkGenerator,
BiomeSource biomeSource,
StructureManager structureManager,
long worldSeed,
ChunkPos chunkPos,
Biome biome,
int referenceCount,
StructureConfig structureConfig,
HeightLimitView heightLimitView)
StructureStart <?>
StructureFeature. tryPlaceStart (DynamicRegistryManager dynamicRegistryManager,
ChunkGenerator generator,
BiomeSource biomeSource,
StructureManager manager,
long worldSeed,
ChunkPos pos,
Biome biome,
int referenceCount,
ChunkRandom random,
StructureConfig structureConfig,
C config,
HeightLimitView world)
Tries to place a starting point for this type of structure in the given chunk.
Constructors in net.minecraft.world.gen.feature with parameters of type ChunkPos
Constructor
Description
Start (StructureFeature <ProbabilityConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (JigsawFeature feature,
ChunkPos chunkPos,
int int2,
long long2)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <MineshaftFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <OceanRuinFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <RuinedPortalFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <ShipwreckFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Start (StructureFeature <DefaultFeatureConfig > feature,
ChunkPos pos,
int references,
long seed)
Methods in net.minecraft.world.storage with parameters of type ChunkPos
Modifier and Type
Method
Description
private static ChunkDataList <Entity >
EntityChunkDataAccess. emptyDataList (ChunkPos pos)
@Nullable DataInputStream
RegionFile. getChunkInputStream (ChunkPos pos)
DataOutputStream
RegionFile. getChunkOutputStream (ChunkPos pos)
private Path
RegionFile. getExternalChunkPath (ChunkPos chunkPos)
private static int
RegionFile. getIndex (ChunkPos pos)
@Nullable NbtCompound
StorageIoWorker. getNbt (ChunkPos pos)
@Nullable NbtCompound
VersionedChunkStorage. getNbt (ChunkPos chunkPos)
private RegionFile
RegionBasedStorage. getRegionFile (ChunkPos pos)
private int
RegionFile. getSectorData (ChunkPos pos)
@Nullable NbtCompound
RegionBasedStorage. getTagAt (ChunkPos pos)
boolean
RegionFile. hasChunk (ChunkPos pos)
boolean
RegionFile. isChunkValid (ChunkPos pos)
private void
SerializingRegionBasedStorage. loadDataAt (ChunkPos chunkPos)
private @Nullable NbtCompound
SerializingRegionBasedStorage. loadNbt (ChunkPos pos)
private <T> com.mojang.serialization.Dynamic<T>
SerializingRegionBasedStorage. method_20367 (ChunkPos chunkPos,
com.mojang.serialization.DynamicOps<T> dynamicOps)
private @Nullable DataInputStream
RegionFile. method_22408 (ChunkPos chunkPos,
byte byte2)
private @Nullable DataInputStream
RegionFile. method_22409 (ChunkPos chunkPos,
byte byte2,
InputStream inputStream)
void
RegionFile. method_31740 (ChunkPos chunkPos)
private static long
SerializingRegionBasedStorage. method_33637 (ChunkPos chunkPos,
int int2)
private static void
EntityChunkDataAccess. putChunkPos (NbtCompound chunkTag,
ChunkPos pos)
CompletableFuture <ChunkDataList <T >>
ChunkDataAccess. readChunkData (ChunkPos pos)
CompletableFuture <ChunkDataList <Entity >>
EntityChunkDataAccess. readChunkData (ChunkPos pos)
protected CompletableFuture <NbtCompound >
StorageIoWorker. readChunkData (ChunkPos pos)
private void
SerializingRegionBasedStorage. save (ChunkPos chunkPos)
void
SerializingRegionBasedStorage. saveChunk (ChunkPos pos)
void
VersionedChunkStorage. setNbt (ChunkPos chunkPos,
NbtCompound nbt)
CompletableFuture <Void >
StorageIoWorker. setResult (ChunkPos pos,
@Nullable NbtCompound nbt)
private <T> void
SerializingRegionBasedStorage. update (ChunkPos pos,
com.mojang.serialization.DynamicOps<T> dynamicOps,
T data)
protected void
RegionBasedStorage. write (ChunkPos pos,
@Nullable NbtCompound nbt)
private void
StorageIoWorker. write (ChunkPos pos,
StorageIoWorker.Result result)
protected void
RegionFile. writeChunk (ChunkPos pos,
ByteBuffer byteBuffer)