类 EmptyChunk
- java.lang.Object
-
- net.minecraft.world.chunk.WorldChunk
-
- net.minecraft.world.chunk.EmptyChunk
-
- 所有已实现的接口:
BlockView,Chunk,HeightLimitView,StructureHolder
public class EmptyChunk extends WorldChunk
- Mappings:
Namespace Name official clqintermediary net/minecraft/class_2812named net/minecraft/world/chunk/EmptyChunk
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static classEmptyChunk.EmptyBiomeArray-
从类继承的嵌套类/接口 net.minecraft.world.chunk.WorldChunk
WorldChunk.CreationType, WorldChunk.DirectBlockEntityTickInvoker<T extends BlockEntity>, WorldChunk.WrappedBlockEntityTickInvoker
-
-
字段概要
-
从类继承的字段 net.minecraft.world.chunk.WorldChunk
EMPTY_SECTION
-
-
构造器概要
构造器 构造器 说明 EmptyChunk(World world, ChunkPos pos)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddBlockEntity(BlockEntity blockEntity)booleanareSectionsEmptyBetween(int lowerHeight, int upperHeight)@Nullable BlockEntitygetBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)BlockStategetBlockState(BlockPos pos)FluidStategetFluidState(BlockPos pos)ChunkHolder.LevelTypegetLevelType()intgetLuminance(BlockPos pos)booleanisEmpty()voidmarkDirty()voidremoveBlockEntity(BlockPos pos)voidsetBlockEntity(BlockEntity blockEntity)@Nullable BlockStatesetBlockState(BlockPos pos, BlockState state, boolean moved)-
从类继承的方法 net.minecraft.world.chunk.WorldChunk
addEntity, addPendingBlockEntityNbt, addStructureReference, disableTickSchedulers, enableTickSchedulers, getBiomeArray, getBlockEntities, getBlockEntity, getBlockEntityNbt, getBlockEntityPositions, getBlockTickScheduler, getBottomY, getFluidState, getFluidTickScheduler, getGameEventDispatcher, getHeight, getHeightmap, getHeightmaps, getInhabitedTime, getLightSourcesStream, getPackedBlockEntityNbt, getPos, getPostProcessingLists, getSectionArray, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, getWorld, isLightOn, loadFromPacket, loadToWorld, method_35319, needsSaving, removeAllBlockEntities, runPostProcessing, sampleHeightmap, setHeightmap, setInhabitedTime, setLevelTypeProvider, setLightOn, setLoadedToWorld, setShouldSave, setStructureReferences, setStructureStart, setStructureStarts, updateAllBlockEntities
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getDismountHeight, getDismountHeight, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.chunk.Chunk
getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getSection, markBlockForPostProcessing, markBlockForPostProcessing
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
-
-
-
构造器详细资料
-
EmptyChunk
public EmptyChunk(World world, ChunkPos pos)
- Mappings:
Namespace Name Mixin selector official <init>Lclq;<init>(Lbvr;Lbuw;)Vintermediary <init>Lnet/minecraft/class_2812;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1923;)Vnamed <init>Lnet/minecraft/world/chunk/EmptyChunk;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/ChunkPos;)V
-
-
方法详细资料
-
getBlockState
public BlockState getBlockState(BlockPos pos)
- 指定者:
getBlockState在接口中BlockView- 覆盖:
getBlockState在类中WorldChunk- Mappings:
Namespace Name Mixin selector official d_Lbuv;d_(Lgb;)Lcjr;intermediary method_8320Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;named getBlockStateLnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
setBlockState
@Nullable public @Nullable BlockState setBlockState(BlockPos pos, BlockState state, boolean moved)
- 指定者:
setBlockState在接口中Chunk- 覆盖:
setBlockState在类中WorldChunk- Mappings:
Namespace Name Mixin selector official aLclk;a(Lgb;Lcjr;Z)Lcjr;intermediary method_12010Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;named setBlockStateLnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
-
getFluidState
public FluidState getFluidState(BlockPos pos)
- 指定者:
getFluidState在接口中BlockView- 覆盖:
getFluidState在类中WorldChunk- Mappings:
Namespace Name Mixin selector official bLbuv;b(Lgb;)Ldds;intermediary method_8316Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;named getFluidStateLnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
-
getLuminance
public int getLuminance(BlockPos pos)
- Mappings:
Namespace Name Mixin selector official fLbuv;f(Lgb;)Iintermediary method_8317Lnet/minecraft/class_1922;method_8317(Lnet/minecraft/class_2338;)Inamed getLuminanceLnet/minecraft/world/BlockView;getLuminance(Lnet/minecraft/util/math/BlockPos;)I
-
getBlockEntity
@Nullable public @Nullable BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
- 覆盖:
getBlockEntity在类中WorldChunk- Mappings:
Namespace Name Mixin selector official aLclv;a(Lgb;Lclv$b;)Lchp;intermediary method_12201Lnet/minecraft/class_2818;method_12201(Lnet/minecraft/class_2338;Lnet/minecraft/class_2818$class_2819;)Lnet/minecraft/class_2586;named getBlockEntityLnet/minecraft/world/chunk/WorldChunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/WorldChunk$CreationType;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
public void addBlockEntity(BlockEntity blockEntity)
- 覆盖:
addBlockEntity在类中WorldChunk- Mappings:
Namespace Name Mixin selector official bLclv;b(Lchp;)Vintermediary method_12216Lnet/minecraft/class_2818;method_12216(Lnet/minecraft/class_2586;)Vnamed addBlockEntityLnet/minecraft/world/chunk/WorldChunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
setBlockEntity
public void setBlockEntity(BlockEntity blockEntity)
- 指定者:
setBlockEntity在接口中Chunk- 覆盖:
setBlockEntity在类中WorldChunk- Mappings:
Namespace Name Mixin selector official aLclk;a(Lchp;)Vintermediary method_12007Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)Vnamed setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntity
public void removeBlockEntity(BlockPos pos)
- 指定者:
removeBlockEntity在接口中Chunk- 覆盖:
removeBlockEntity在类中WorldChunk- Mappings:
Namespace Name Mixin selector official dLclk;d(Lgb;)Vintermediary method_12041Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)Vnamed removeBlockEntityLnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
-
markDirty
public void markDirty()
- 覆盖:
markDirty在类中WorldChunk- Mappings:
Namespace Name Mixin selector official tLclv;t()Vintermediary method_12220Lnet/minecraft/class_2818;method_12220()Vnamed markDirtyLnet/minecraft/world/chunk/WorldChunk;markDirty()V
-
isEmpty
public boolean isEmpty()
- 覆盖:
isEmpty在类中WorldChunk- Mappings:
Namespace Name Mixin selector official uLclv;u()Zintermediary method_12223Lnet/minecraft/class_2818;method_12223()Znamed isEmptyLnet/minecraft/world/chunk/WorldChunk;isEmpty()Z
-
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int lowerHeight, int upperHeight)- Mappings:
Namespace Name Mixin selector official aLclk;a(II)Zintermediary method_12228Lnet/minecraft/class_2791;method_12228(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-
getLevelType
public ChunkHolder.LevelType getLevelType()
- 覆盖:
getLevelType在类中WorldChunk- Mappings:
Namespace Name Mixin selector official vLclv;v()Laav$c;intermediary method_12225Lnet/minecraft/class_2818;method_12225()Lnet/minecraft/class_3193$class_3194;named getLevelTypeLnet/minecraft/world/chunk/WorldChunk;getLevelType()Lnet/minecraft/server/world/ChunkHolder$LevelType;
-
-