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.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>
CommonPlayerSpawnInfo.dimensionType
The field for thedimensionType
record component.Modifier and TypeMethodDescriptionCommonPlayerSpawnInfo.dimensionType()
Returns the value of thedimensionType
record component.ModifierConstructorDescriptionCommonPlayerSpawnInfo
(RegistryKey<DimensionType> registryKey, RegistryKey<World> registryKey2, long long2, GameMode gameMode, @Nullable GameMode gameMode2, boolean bool, boolean bool2, Optional<GlobalPos> optional, int int2) -
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, DynamicRegistryManager registryManager, RegistryEntry<DimensionType> dimensionEntry, Supplier<Profiler> profiler, boolean isClient, boolean debugWorld, long biomeAccess, 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