Modifier and Type | Field and Description |
---|---|
private DimensionType |
LocationPredicate.dimension |
private DimensionType |
LocationPredicate.Builder.dimension |
private DimensionType |
ChangeDimensionTrigger.Instance.from |
private DimensionType |
ChangeDimensionTrigger.Instance.to |
Modifier and Type | Method and Description |
---|---|
static ChangeDimensionTrigger.Instance |
ChangeDimensionTrigger.Instance.changedDimensionTo(DimensionType p_203911_0_) |
static LocationPredicate |
LocationPredicate.forDimension(DimensionType p_204008_0_) |
boolean |
ChangeDimensionTrigger.Instance.test(DimensionType from,
DimensionType to) |
void |
ChangeDimensionTrigger.trigger(ServerPlayerEntity player,
DimensionType from,
DimensionType to) |
Constructor and Description |
---|
Instance(DimensionType from,
DimensionType to) |
LocationPredicate(MinMaxBounds.FloatBound p_i225755_1_,
MinMaxBounds.FloatBound p_i225755_2_,
MinMaxBounds.FloatBound p_i225755_3_,
Biome p_i225755_4_,
Structure<?> p_i225755_5_,
DimensionType p_i225755_6_,
LightPredicate p_i225755_7_,
BlockPredicate p_i225755_8_,
FluidPredicate p_i225755_9_) |
Modifier and Type | Field and Description |
---|---|
private static it.unimi.dsi.fastutil.objects.Object2IntMap<DimensionType> |
OptimizeWorldScreen.PROGRESS_BAR_COLORS |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<DimensionType,java.util.Map<java.lang.String,MutableBoundingBox>> |
StructureDebugRenderer.mainBoxes |
private java.util.Map<DimensionType,java.util.Map<java.lang.String,MutableBoundingBox>> |
StructureDebugRenderer.subBoxes |
private java.util.Map<DimensionType,java.util.Map<java.lang.String,java.lang.Boolean>> |
StructureDebugRenderer.subBoxFlags |
Modifier and Type | Method and Description |
---|---|
void |
StructureDebugRenderer.func_223454_a(MutableBoundingBox p_223454_1_,
java.util.List<MutableBoundingBox> p_223454_2_,
java.util.List<java.lang.Boolean> p_223454_3_,
DimensionType p_223454_4_) |
Constructor and Description |
---|
ClientWorld(ClientPlayNetHandler netHandler,
WorldSettings worldSettingsIn,
DimensionType dimType,
int viewDistance,
IProfiler profilerIn,
WorldRenderer worldRendererIn) |
Modifier and Type | Method and Description |
---|---|
static DimensionType |
DimensionArgument.getDimensionArgument(com.mojang.brigadier.context.CommandContext<CommandSource> p_212592_0_,
java.lang.String p_212592_1_) |
DimensionType |
DimensionArgument.parse(com.mojang.brigadier.StringReader p_parse_1_) |
Modifier and Type | Field and Description |
---|---|
DimensionType |
Entity.dimension |
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.changeDimension(DimensionType destination) |
Entity |
Entity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
Entity |
EnderPearlEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Entity |
ItemEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
Entity |
ContainerMinecartEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Method and Description |
---|---|
Entity |
AbstractVillagerEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
PlayerEntity.spawnDimension |
Modifier and Type | Method and Description |
---|---|
DimensionType |
PlayerEntity.getSpawnDimension() |
Modifier and Type | Method and Description |
---|---|
Entity |
ServerPlayerEntity.changeDimension(DimensionType destination,
ITeleporter teleporter) |
BlockPos |
PlayerEntity.getBedLocation(DimensionType dim)
A dimension aware version of getBedLocation.
|
boolean |
PlayerEntity.isSpawnForced(DimensionType dim)
A dimension aware version of isSpawnForced.
|
void |
PlayerEntity.setSpawnDimenion(DimensionType dim) |
void |
PlayerEntity.setSpawnPoint(BlockPos p_226560_1_,
boolean p_226560_2_,
boolean p_226560_3_,
DimensionType dim)
A dimension aware version of setSpawnChunk.
|
Modifier and Type | Method and Description |
---|---|
private static MapData |
FilledMapItem.createMapData(ItemStack stack,
World worldIn,
int x,
int z,
int scale,
boolean trackingPosition,
boolean unlimitedTracking,
DimensionType dimensionTypeIn) |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
SJoinGamePacket.dimension |
private DimensionType |
SRespawnPacket.dimensionID |
Modifier and Type | Method and Description |
---|---|
DimensionType |
SRespawnPacket.getDimension() |
DimensionType |
SJoinGamePacket.getDimension() |
Constructor and Description |
---|
SJoinGamePacket(int p_i226090_1_,
GameType p_i226090_2_,
long p_i226090_3_,
boolean p_i226090_5_,
DimensionType p_i226090_6_,
int p_i226090_7_,
WorldType p_i226090_8_,
int p_i226090_9_,
boolean p_i226090_10_,
boolean p_i226090_11_) |
SRespawnPacket(DimensionType p_i226091_1_,
long p_i226091_2_,
WorldType p_i226091_4_,
GameType p_i226091_5_) |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<DimensionType,long[]> |
MinecraftServer.perWorldTickTimes |
private java.util.Map<DimensionType,ServerWorld> |
MinecraftServer.worlds |
Modifier and Type | Method and Description |
---|---|
java.util.Map<DimensionType,ServerWorld> |
MinecraftServer.forgeGetWorldMap()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long[] |
MinecraftServer.getTickTime(DimensionType dim) |
ServerWorld |
MinecraftServer.getWorld(DimensionType dimension) |
Modifier and Type | Method and Description |
---|---|
ServerPlayerEntity |
PlayerList.recreatePlayerEntity(ServerPlayerEntity playerIn,
DimensionType dimension,
boolean conqueredEnd) |
void |
PlayerList.sendPacketToAllPlayersInDimension(IPacket<?> packetIn,
DimensionType dimension) |
void |
PlayerList.sendToAllNearExcept(PlayerEntity except,
double x,
double y,
double z,
double radius,
DimensionType dimension,
IPacket<?> packetIn) |
Modifier and Type | Field and Description |
---|---|
private it.unimi.dsi.fastutil.objects.Object2FloatMap<DimensionType> |
WorldOptimizer.progress |
Modifier and Type | Method and Description |
---|---|
private java.util.List<ChunkPos> |
WorldOptimizer.func_219953_b(DimensionType p_219953_1_) |
float |
WorldOptimizer.getProgress(DimensionType p_212543_1_) |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
GlobalPos.dimension |
Modifier and Type | Method and Description |
---|---|
DimensionType |
GlobalPos.getDimension() |
Modifier and Type | Method and Description |
---|---|
static GlobalPos |
GlobalPos.of(DimensionType p_218179_0_,
BlockPos pos) |
Constructor and Description |
---|
GlobalPos(DimensionType dimension,
BlockPos pos) |
Modifier and Type | Field and Description |
---|---|
static Registry<DimensionType> |
Registry.DIMENSION_TYPE
Deprecated.
|
Constructor and Description |
---|
World(WorldInfo info,
DimensionType dimType,
java.util.function.BiFunction<World,Dimension,AbstractChunkProvider> provider,
IProfiler profilerIn,
boolean remote) |
Modifier and Type | Method and Description |
---|---|
CompoundNBT |
ChunkLoader.updateChunkData(DimensionType p_219166_1_,
java.util.function.Supplier<DimensionSavedDataManager> savedDataManager,
CompoundNBT chunkData) |
Modifier and Type | Field and Description |
---|---|
static DimensionType |
DimensionType.OVERWORLD |
static DimensionType |
DimensionType.THE_END |
static DimensionType |
DimensionType.THE_NETHER |
private DimensionType |
Dimension.type |
Modifier and Type | Field and Description |
---|---|
private java.util.function.BiFunction<World,DimensionType,? extends Dimension> |
DimensionType.factory |
Modifier and Type | Method and Description |
---|---|
static DimensionType |
DimensionType.byName(ResourceLocation nameIn) |
static DimensionType |
DimensionType.deserialize(com.mojang.datafixers.Dynamic<?> p_218271_0_) |
static DimensionType |
DimensionType.getById(int id) |
DimensionType |
Dimension.getType() |
private static DimensionType |
DimensionType.register(java.lang.String key,
DimensionType type) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<DimensionType> |
DimensionType.getAll() |
Modifier and Type | Method and Description |
---|---|
static ResourceLocation |
DimensionType.getKey(DimensionType dim) |
private static DimensionType |
DimensionType.register(java.lang.String key,
DimensionType type) |
Constructor and Description |
---|
Dimension(World p_i225788_1_,
DimensionType p_i225788_2_,
float p_i225788_3_) |
EndDimension(World worldIn,
DimensionType typeIn) |
NetherDimension(World worldIn,
DimensionType typeIn) |
OverworldDimension(World worldIn,
DimensionType typeIn) |
Constructor and Description |
---|
DimensionType(int p_i225789_1_,
java.lang.String p_i225789_2_,
java.lang.String p_i225789_3_,
java.util.function.BiFunction<World,DimensionType,? extends Dimension> p_i225789_4_,
boolean p_i225789_5_,
IBiomeMagnifier p_i225789_6_)
Deprecated.
|
DimensionType(int p_i225789_1_,
java.lang.String p_i225789_2_,
java.lang.String p_i225789_3_,
java.util.function.BiFunction<World,DimensionType,? extends Dimension> p_i225789_4_,
boolean p_i225789_5_,
IBiomeMagnifier p_i225789_6_,
ModDimension modType,
PacketBuffer data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static LegacyStructureDataUtil |
LegacyStructureDataUtil.func_215130_a(DimensionType p_215130_0_,
DimensionSavedDataManager p_215130_1_) |
Constructor and Description |
---|
ServerMultiWorld(ServerWorld p_i50708_1_,
MinecraftServer serverIn,
java.util.concurrent.Executor p_i50708_3_,
SaveHandler p_i50708_4_,
DimensionType dimType,
IProfiler p_i50708_6_,
IChunkStatusListener p_i50708_7_) |
ServerWorld(MinecraftServer serverIn,
java.util.concurrent.Executor executorIn,
SaveHandler saveHandlerIn,
WorldInfo worldInfoIn,
DimensionType dimType,
IProfiler profilerIn,
IChunkStatusListener listenerIn) |
Modifier and Type | Field and Description |
---|---|
DimensionType |
MapData.dimension |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<DimensionType,CompoundNBT> |
WorldInfo.dimensionData |
Modifier and Type | Method and Description |
---|---|
void |
MapData.func_212440_a(int x,
int z,
int scaleIn,
boolean trackingPositionIn,
boolean unlimitedTrackingIn,
DimensionType dimensionTypeIn) |
CompoundNBT |
WorldInfo.getDimensionData(DimensionType dimensionIn) |
CompoundNBT |
DerivedWorldInfo.getDimensionData(DimensionType dimensionIn) |
void |
WorldInfo.setDimensionData(DimensionType dimensionIn,
CompoundNBT compound) |
void |
DerivedWorldInfo.setDimensionData(DimensionType dimensionIn,
CompoundNBT compound) |
Modifier and Type | Field and Description |
---|---|
private static ClearableRegistry<DimensionType> |
DimensionManager.REGISTRY |
Modifier and Type | Method and Description |
---|---|
static DimensionType |
DimensionManager.registerDimension(ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight)
Registers a real unique dimension, Should be called on server init, or when the dimension is created.
|
static DimensionType |
DimensionManager.registerDimensionInternal(int id,
ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight) |
static DimensionType |
DimensionManager.registerOrGetDimension(ResourceLocation name,
ModDimension type,
PacketBuffer data,
boolean hasSkyLight)
Register or get the existing dimension type for the given dimtype name.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.function.BiFunction<World,DimensionType,? extends Dimension> |
ModDimension.getFactory() |
static MutableRegistry<DimensionType> |
DimensionManager.getRegistry()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private static DimensionManager.Data |
DimensionManager.getData(DimensionType dim) |
static ServerWorld |
DimensionManager.getWorld(MinecraftServer server,
DimensionType dim,
boolean resetUnloadDelay,
boolean forceLoad)
Retrieves the world from the server allowing for null return, and optionally resetting it's unload timer.
|
static ServerWorld |
DimensionManager.initWorld(MinecraftServer server,
DimensionType dim) |
static boolean |
DimensionManager.keepLoaded(DimensionType dim)
Determines if the dimension will stay loaded in memory even if all chunks are unloaded.
|
static boolean |
DimensionManager.keepLoaded(DimensionType dim,
boolean value)
Configures if the dimension will stay loaded in memory even if all chunks are unloaded.
|
static void |
DimensionManager.markForDeletion(DimensionType dim)
Marks the given dimension for deletion upon next reload of the save.
|
static boolean |
ForgeHooks.onTravelToDimension(Entity entity,
DimensionType dimension) |
Modifier and Type | Method and Description |
---|---|
static ModDimension |
ModDimension.withFactory(java.util.function.BiFunction<World,DimensionType,? extends Dimension> factory)
Convenience method for generating a ModDimension with a specific factory but no extra
data handling behaviour.
|
Constructor and Description |
---|
SavedEntry(DimensionType data,
boolean markedForDeletion) |
Modifier and Type | Method and Description |
---|---|
default DimensionType |
IForgeDimension.getRespawnDimension(ServerPlayerEntity player)
Determines the dimension the player will be respawned in, typically this brings them back to the overworld.
|
Modifier and Type | Field and Description |
---|---|
DimensionType |
MarkDimensionForDeletionTest.DynamicDimensionCap.dimension |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
EntityTravelToDimensionEvent.dimension |
Modifier and Type | Method and Description |
---|---|
DimensionType |
EntityTravelToDimensionEvent.getDimension() |
Constructor and Description |
---|
EntityTravelToDimensionEvent(Entity entity,
DimensionType dimension) |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
PlayerEvent.PlayerChangedDimensionEvent.fromDim |
private DimensionType |
PlayerEvent.PlayerChangedDimensionEvent.toDim |
Modifier and Type | Method and Description |
---|---|
DimensionType |
PlayerEvent.PlayerChangedDimensionEvent.getFrom() |
DimensionType |
PlayerEvent.PlayerChangedDimensionEvent.getTo() |
Constructor and Description |
---|
PlayerChangedDimensionEvent(PlayerEntity player,
DimensionType fromDim,
DimensionType toDim) |
Modifier and Type | Method and Description |
---|---|
static void |
BasicEventHooks.firePlayerChangedDimensionEvent(PlayerEntity player,
DimensionType fromDim,
DimensionType toDim) |
Modifier and Type | Field and Description |
---|---|
private DimensionType |
PacketDistributor.TargetPoint.dim |
Modifier and Type | Field and Description |
---|---|
static PacketDistributor<DimensionType> |
PacketDistributor.DIMENSION
Send to everyone in the dimension specified in the Supplier
PacketDistributor.with(Supplier) DimensionType |
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<DimensionType> |
NetworkHooks.trackingMap |
Modifier and Type | Method and Description |
---|---|
static DimensionType |
NetworkHooks.getDummyDimType(int dimension) |
private DimensionType |
FMLPlayMessages.DimensionInfoMessage.makeDummyDimensionType() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
NetworkHooks.addCachedDimensionType(DimensionType dimensionType,
ResourceLocation dimName) |
static java.util.function.Supplier<PacketDistributor.TargetPoint> |
PacketDistributor.TargetPoint.p(double x,
double y,
double z,
double r2,
DimensionType dim)
Helper to build a TargetPoint without excluded Entity
|
Modifier and Type | Method and Description |
---|---|
private java.util.function.Consumer<IPacket<?>> |
PacketDistributor.playerListDimConsumer(java.util.function.Supplier<DimensionType> dimensionTypeSupplier) |
Constructor and Description |
---|
DimensionInfoMessage(DimensionType type) |
TargetPoint(double x,
double y,
double z,
double r2,
DimensionType dim)
A target point without excluded entity
|
TargetPoint(ServerPlayerEntity excluded,
double x,
double y,
double z,
double r2,
DimensionType dim)
A target point with excluded entity
|
Modifier and Type | Field and Description |
---|---|
private DimensionType |
ChunkGenWorker.dim |
Modifier and Type | Method and Description |
---|---|
private static int |
CommandGenerate.execute(CommandSource source,
BlockPos pos,
int count,
DimensionType dim,
int interval) |
private static int |
CommandSetDimension.execute(CommandSource sender,
java.util.Collection<? extends Entity> entities,
DimensionType dim,
BlockPos pos) |
private static int |
CommandEntity.EntityListCommand.execute(CommandSource sender,
java.lang.String filter,
DimensionType dim) |
private static int |
CommandTps.sendTime(CommandSource cs,
DimensionType dim) |
Constructor and Description |
---|
ChunkGenWorker(CommandSource listener,
BlockPos start,
int total,
DimensionType dim,
int interval) |