Uses of Record Class
net.minecraft.world.dimension.DimensionType
Package
Description
-
Uses of DimensionType in net.minecraft.client.render
Modifier and TypeMethodDescriptionstatic DimensionEffects
DimensionEffects.byDimensionType
(DimensionType dimensionType) static float
LightmapTextureManager.getBrightness
(DimensionType type, int lightLevel) -
Uses of DimensionType in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionprivate final Map<DimensionType,
Map<String, Boolean>> StructureDebugRenderer.field_4625
private final Map<DimensionType,
Map<String, BlockBox>> StructureDebugRenderer.structureBoundingBoxes
private final Map<DimensionType,
Map<String, BlockBox>> StructureDebugRenderer.structurePiecesBoundingBoxes
Modifier and TypeMethodDescriptionvoid
StructureDebugRenderer.addStructure
(BlockBox boundingBox, List<BlockBox> piecesBoundingBoxes, List<Boolean> list, DimensionType dimension) -
Uses of DimensionType in net.minecraft.client.world
ModifierConstructorDescriptionClientWorld
(ClientPlayNetworkHandler networkHandler, ClientWorld.Properties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimensionTypeEntry, int loadDistance, int simulationDistance, Supplier<Profiler> profiler, WorldRenderer worldRenderer, boolean debugWorld, long seed) -
Uses of DimensionType in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final RegistryKey<DimensionType>
GameJoinS2CPacket.dimensionType
The field for thedimensionType
record component.private final RegistryKey<DimensionType>
PlayerRespawnS2CPacket.dimensionType
Modifier and TypeMethodDescriptionGameJoinS2CPacket.dimensionType()
Returns the value of thedimensionType
record component.PlayerRespawnS2CPacket.getDimensionType()
ModifierConstructorDescriptionGameJoinS2CPacket
(int playerEntityId, boolean bool, GameMode previousGameMode, @Nullable GameMode gameMode, Set<RegistryKey<World>> set, DynamicRegistryManager.Immutable immutable, RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, int maxPlayers, int chunkLoadDistance, int int2, boolean bool2, boolean bool3, boolean bool4, boolean bool5, Optional<GlobalPos> optional) PlayerRespawnS2CPacket
(RegistryKey<DimensionType> dimensionType, RegistryKey<World> dimension, long sha256Seed, GameMode gameMode, @Nullable GameMode previousGameMode, boolean debugWorld, boolean flatWorld, boolean keepPlayerAttributes, Optional<GlobalPos> lastDeathPos) -
Uses of DimensionType in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey<Registry<DimensionType>>
RegistryKeys.DIMENSION_TYPE
-
Uses of DimensionType in net.minecraft.village.raid
Modifier and TypeMethodDescriptionstatic String
RaidManager.nameFor
(RegistryEntry<DimensionType> dimensionTypeEntry) -
Uses of DimensionType in net.minecraft.world
Modifier and TypeFieldDescriptionprivate final RegistryKey<DimensionType>
World.dimension
private final RegistryEntry<DimensionType>
World.dimensionEntry
Modifier and TypeMethodDescriptionChunkRegion.getDimension()
World.getDimension()
WorldView.getDimension()
ModifierConstructorDescriptionprotected
World
(MutableWorldProperties properties, RegistryKey<World> registryRef, RegistryEntry<DimensionType> dimension, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long seed, int maxChainedNeighborUpdates) -
Uses of DimensionType in net.minecraft.world.dimension
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DimensionType>
DimensionType.CODEC
private final RegistryEntry<DimensionType>
DimensionOptions.dimensionTypeEntry
The field for thedimensionTypeEntry
record component.static final RegistryKey<DimensionType>
DimensionTypes.OVERWORLD
static final RegistryKey<DimensionType>
DimensionTypes.OVERWORLD_CAVES
static final com.mojang.serialization.Codec<RegistryEntry<DimensionType>>
DimensionType.REGISTRY_CODEC
static final RegistryKey<DimensionType>
DimensionTypes.THE_END
static final RegistryKey<DimensionType>
DimensionTypes.THE_NETHER
Modifier and TypeMethodDescriptionDimensionOptions.dimensionTypeEntry()
Returns the value of thedimensionTypeEntry
record component.private static RegistryKey<DimensionType>
Modifier and TypeMethodDescriptionstatic double
DimensionType.getCoordinateScaleFactor
(DimensionType fromDimension, DimensionType toDimension) Modifier and TypeMethodDescriptionstatic void
DimensionTypeRegistrar.bootstrap
(Registerable<DimensionType> dimensionTypeRegisterable) static Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionOptions> currentRegistry, RegistryEntry<DimensionType> overworldEntry, ChunkGenerator chunkGenerator) static Registry<DimensionOptions>
DimensionOptionsRegistryHolder.createRegistry
(Registry<DimensionType> dynamicRegistry, Registry<DimensionOptions> currentRegistry, ChunkGenerator chunkGenerator) ModifierConstructorDescriptionDimensionOptions
(RegistryEntry<DimensionType> dimensionTypeEntry, ChunkGenerator chunkGenerator) Creates an instance of aDimensionOptions
record class. -
Uses of DimensionType in net.minecraft.world.gen
Modifier and TypeFieldDescriptionprivate final RegistryEntry<DimensionType>
WorldPresets.Registrar.overworldDimensionType