Package net.minecraft.world.level.levelgen.blending
Part 1/1
Blender
- Full name:
net.minecraft.world.level.levelgen.blending.Blender - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/Blender.java - Type:
class - Modifiers:
public
net.minecraft.world.level.levelgen.blending.Blender#addAroundOldChunksCarvingMaskFilter(WorldGenLevel,ProtoChunk)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:306 - Modifiers:
public static - Return:
void
คืออะไร
เพิ่ม Around Old Chunks Carving Mask Filter
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getPos(), builder(), values(), getStepX(), getStepZ(), getChunk(), getBlendingData(), put(). คืนค่า: distanceGetter.getDistance(d, e, f) < 4.0.
Parameters
WorldGenLevel worldGenLevelProtoChunk protoChunk
ตัวอย่างใช้งาน
WorldGenLevel worldGenLevel = ...;
ProtoChunk protoChunk = ...;
Blender.addAroundOldChunksCarvingMaskFilter(worldGenLevel, protoChunk);
net.minecraft.world.level.levelgen.blending.Blender#blendDensity(DensityFunction.FunctionContext,double)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:151 - Modifiers:
public - Return:
double
คืออะไร
ดำเนินการ blendDensity ตาม implementation ของ Blender
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: fromBlock(), blockX(), blockY(), blockZ(), getBlendingDataValue(), forEach(), iterateDensities(), fromSection(). สร้างออบเจ็กต์: MutableDouble. มีจุด return อย่างน้อย 3 จุด.
Parameters
DensityFunction.FunctionContext functionContextdouble d
ตัวอย่างใช้งาน
Blender instance = ...;
DensityFunction.FunctionContext functionContext = ...;
double result = instance.blendDensity(functionContext, 0.0D);
net.minecraft.world.level.levelgen.blending.Blender#blendOffsetAndFactor(int,int)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:106 - Modifiers:
public - Return:
Blender.BlendingOutput
คืออะไร
ดำเนินการ blendOffsetAndFactor ตาม implementation ของ Blender
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: fromBlock(), getBlendingDataValue(), BlendingOutput(), heightToOffset(), forEach(), iterateHeights(), fromSection(), getX(). สร้างออบเจ็กต์: Blender.BlendingOutput, MutableDouble. มีจุด return อย่างน้อย 3 จุด.
Parameters
int iint j
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.Blender#empty()
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:61 - Modifiers:
public static - Return:
Blender
คืออะไร
ดำเนินการ empty ตาม implementation ของ Blender
ทำงานยังไง
คืนค่า: EMPTY.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.Blender#generateBorderTicks(WorldGenRegion,ChunkAccess)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:253 - Modifiers:
public static - Return:
void
คืออะไร
ดำเนินการ generateBorderTicks ตาม implementation ของ Blender
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getPos(), isOldNoiseGeneration(), MutableBlockPos(), getMinBlockX(), getMinBlockZ(), getBlendingData(), getAreaWithOldGeneration(), getMinY(). สร้างออบเจ็กต์: BlockPos.MutableBlockPos, BlockPos.
Parameters
WorldGenRegion worldGenRegionChunkAccess chunkAccess
ตัวอย่างใช้งาน
WorldGenRegion worldGenRegion = ...;
ChunkAccess chunkAccess = ...;
Blender.generateBorderTicks(worldGenRegion, chunkAccess);
net.minecraft.world.level.levelgen.blending.Blender#getBiomeResolver(BiomeResolver)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:219 - Modifiers:
public - Return:
BiomeResolver
คืออะไร
อ่านค่า Biome Resolver
ทำงานยังไง
เรียกต่อ: blendBiome(), getNoiseBiome(). มีจุด return อย่างน้อย 2 จุด.
Parameters
BiomeResolver biomeResolver
ตัวอย่างใช้งาน
Blender instance = ...;
BiomeResolver biomeResolver = ...;
BiomeResolver result = instance.getBiomeResolver(biomeResolver);
net.minecraft.world.level.levelgen.blending.Blender#makeOldChunkDistanceGetter(BlendingData,Map<Direction8, BlendingData>)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:332 - Modifiers:
public static - Return:
Blender.DistanceGetter
คืออะไร
สร้าง Old Chunk Distance Getter
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: newArrayList(), add(), makeOffsetOldChunkDistanceGetter(), forEach(), getDistance(). มีจุด return อย่างน้อย 2 จุด.
Parameters
BlendingData blendingDataMap<Direction8, BlendingData> map
ตัวอย่างใช้งาน
BlendingData blendingData = ...;
Map<Direction8, BlendingData> map = ...;
Blender.DistanceGetter result = Blender.makeOldChunkDistanceGetter(blendingData, map);
net.minecraft.world.level.levelgen.blending.Blender#of(WorldGenRegion)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:65 - Modifiers:
public static - Return:
Blender
คืออะไร
ดำเนินการ of ตาม implementation ของ Blender
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getCenter(), isOldChunkAround(), square(), getOrUpdateBlendingData(), put(), asLong(), isEmpty(). สร้างออบเจ็กต์: Long2ObjectOpenHashMap<>, Blender. มีจุด return อย่างน้อย 3 จุด.
Parameters
WorldGenRegion worldGenRegion
ตัวอย่างใช้งาน
Blender$DistanceGetter
- Full name:
net.minecraft.world.level.levelgen.blending.Blender$DistanceGetter - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/Blender.java - Type:
interface - Modifiers:
public
net.minecraft.world.level.levelgen.blending.Blender$DistanceGetter#getDistance(double,double,double)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/Blender.java:385 - Modifiers: ``
- Return:
double
คืออะไร
อ่านค่า Distance
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
double ddouble edouble f
ตัวอย่างใช้งาน
BlendingData
- Full name:
net.minecraft.world.level.levelgen.blending.BlendingData - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/BlendingData.java - Type:
class - Modifiers:
public
net.minecraft.world.level.levelgen.blending.BlendingData#getAreaWithOldGeneration()
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:386 - Modifiers:
public - Return:
LevelHeightAccessor
คืออะไร
อ่านค่า Area With Old Generation
ทำงานยังไง
คืนค่า: this.areaWithOldGeneration.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.BlendingData#getDensity(int,int,int)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:284 - Modifiers:
protected - Return:
double
คืออะไร
อ่านค่า Density
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getMinY(), getOutsideIndex(), getInsideIndex(). มีจุด return อย่างน้อย 3 จุด.
Parameters
int iint jint k
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.BlendingData#getHeight(int,int,int)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:267 - Modifiers:
protected - Return:
double
คืออะไร
อ่านค่า Height
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getOutsideIndex(), getInsideIndex(). มีจุด return อย่างน้อย 2 จุด.
Parameters
int iint jint k
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.BlendingData#getOrUpdateBlendingData(WorldGenRegion,int,int)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:102 - Modifiers:
public static - Return:
BlendingData
คืออะไร
อ่านค่า Or Update Blending Data
ทำงานยังไง
ตรวจเงื่อนไขด้วย if. เรียกต่อ: getChunk(), getBlendingData(), getHighestGeneratedStatus(), isBefore(), calculateData(), sideByGenerationAge(). มีจุด return อย่างน้อย 2 จุด.
Parameters
WorldGenRegion worldGenRegionint iint j
ตัวอย่างใช้งาน
WorldGenRegion worldGenRegion = ...;
BlendingData result = BlendingData.getOrUpdateBlendingData(worldGenRegion, 0, 0);
net.minecraft.world.level.levelgen.blending.BlendingData#iterateBiomes(int,int,int,BlendingData.BiomeConsumer)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:294 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ iterateBiomes ตาม implementation ของ BlendingData
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: fromBlock(), getMinY(), getMaxY(), size(), get(), consume(), getX(), getZ().
Parameters
int iint jint kBlendingData.BiomeConsumer biomeConsumer
ตัวอย่างใช้งาน
BlendingData.BiomeConsumer biomeConsumer = ...;
@Override
protected void iterateBiomes(int i, int j, int k, BlendingData.BiomeConsumer biomeConsumer) {
super.iterateBiomes(i, j, k, biomeConsumer);
}
net.minecraft.world.level.levelgen.blending.BlendingData#iterateDensities(int,int,int,int,BlendingData.DensityConsumer)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:318 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ iterateDensities ตาม implementation ของ BlendingData
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: getColumnMinY(), max(), min(), cellCountPerColumn(), getX(), getZ(), consume().
Parameters
int iint jint kint lBlendingData.DensityConsumer densityConsumer
ตัวอย่างใช้งาน
BlendingData.DensityConsumer densityConsumer = ...;
@Override
protected void iterateDensities(int i, int j, int k, int l, BlendingData.DensityConsumer densityConsumer) {
super.iterateDensities(i, j, k, l, densityConsumer);
}
net.minecraft.world.level.levelgen.blending.BlendingData#iterateHeights(int,int,BlendingData.HeightConsumer)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:309 - Modifiers:
protected - Return:
void
คืออะไร
ดำเนินการ iterateHeights ตาม implementation ของ BlendingData
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: consume(), getX(), getZ().
Parameters
int iint jBlendingData.HeightConsumer heightConsumer
ตัวอย่างใช้งาน
BlendingData.HeightConsumer heightConsumer = ...;
@Override
protected void iterateHeights(int i, int j, BlendingData.HeightConsumer heightConsumer) {
super.iterateHeights(i, j, heightConsumer);
}
net.minecraft.world.level.levelgen.blending.BlendingData#pack()
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:85 - Modifiers:
public - Return:
BlendingData.Packed
คืออะไร
ดำเนินการ pack ตาม implementation ของ BlendingData
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: Packed(), getMinSectionY(), getMaxSectionY(), of(), copy(), empty(). สร้างออบเจ็กต์: BlendingData.Packed.
Parameters
- ไม่มี
ตัวอย่างใช้งาน
net.minecraft.world.level.levelgen.blending.BlendingData#sideByGenerationAge(WorldGenLevel,int,int,boolean)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:114 - Modifiers:
public static - Return:
Set<Direction8>
คืออะไร
ดำเนินการ sideByGenerationAge ตาม implementation ของ BlendingData
ทำงานยังไง
ตรวจเงื่อนไขด้วย if ; มีการวนลูป. เรียกต่อ: noneOf(), values(), getStepX(), getStepZ(), getChunk(), isOldNoiseGeneration(), add(). คืนค่า: set.
Parameters
WorldGenLevel worldGenLevelint iint jboolean bl
ตัวอย่างใช้งาน
WorldGenLevel worldGenLevel = ...;
Set<Direction8> result = BlendingData.sideByGenerationAge(worldGenLevel, 0, 0, true);
net.minecraft.world.level.levelgen.blending.BlendingData#unpack(BlendingData.Packed)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:80 - Modifiers:
public static - Return:
BlendingData
คืออะไร
ดำเนินการ unpack ตาม implementation ของ BlendingData
ทำงานยังไง
เรียกต่อ: minSection(), maxSection(), heights(). สร้างออบเจ็กต์: BlendingData. คืนค่า: packed == null ? null : new BlendingData(packed.minSection(), packed.maxSection(), packed.heights()).
Parameters
BlendingData.Packed packed
ตัวอย่างใช้งาน
BlendingData$BiomeConsumer
- Full name:
net.minecraft.world.level.levelgen.blending.BlendingData$BiomeConsumer - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/BlendingData.java - Type:
interface - Modifiers:
protected
net.minecraft.world.level.levelgen.blending.BlendingData$BiomeConsumer#consume(int,int,Holder<Biome>)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:391 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ consume ตาม implementation ของ BlendingData$BiomeConsumer
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
int iint jHolder<Biome> holder
ตัวอย่างใช้งาน
BlendingData.BiomeConsumer instance = ...;
Holder<Biome> holder = ...;
instance.consume(0, 0, holder);
BlendingData$DensityConsumer
- Full name:
net.minecraft.world.level.levelgen.blending.BlendingData$DensityConsumer - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/BlendingData.java - Type:
interface - Modifiers:
protected
net.minecraft.world.level.levelgen.blending.BlendingData$DensityConsumer#consume(int,int,int,double)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:395 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ consume ตาม implementation ของ BlendingData$DensityConsumer
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
int iint jint kdouble d
ตัวอย่างใช้งาน
BlendingData$HeightConsumer
- Full name:
net.minecraft.world.level.levelgen.blending.BlendingData$HeightConsumer - Package:
net.minecraft.world.level.levelgen.blending - Source:
common—net/minecraft/world/level/levelgen/blending/BlendingData.java - Type:
interface - Modifiers:
protected
net.minecraft.world.level.levelgen.blending.BlendingData$HeightConsumer#consume(int,int,double)
- Origin:
common - Source:
net/minecraft/world/level/levelgen/blending/BlendingData.java:399 - Modifiers: ``
- Return:
void
คืออะไร
ดำเนินการ consume ตาม implementation ของ BlendingData$HeightConsumer
ทำงานยังไง
ไม่มี body ใน source declaration นี้
Parameters
int iint jdouble d