-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1953c03
commit 9177196
Showing
15 changed files
with
108 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...e/src/main/kotlin/io/github/realyusufismail/armourandtoolsmod/core/init/DimensionsInit.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright 2023 RealYusufIsmail. | ||
* | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* | ||
* you may not use this file except in compliance with the License. | ||
* | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package io.github.realyusufismail.armourandtoolsmod.core.init | ||
|
||
import io.github.realyusufismail.armourandtoolsmod.ArmourAndToolsMod | ||
import net.minecraft.world.level.dimension.DimensionType | ||
import net.minecraft.core.registries.Registries | ||
import net.minecraft.resources.ResourceKey | ||
import net.minecraft.world.level.Level | ||
|
||
object DimensionsInit { | ||
val CHRON_REAL: ResourceKey<Level> = | ||
ResourceKey.create(Registries.DIMENSION, ArmourAndToolsMod.getModIdAndName("chrono_realm")) | ||
val CHRON_REAL_TYPE: ResourceKey<DimensionType> = | ||
ResourceKey.create(Registries.DIMENSION_TYPE, CHRON_REAL.location()) | ||
|
||
fun register() { | ||
ArmourAndToolsMod.logger.info("Registering dimensions for ${ArmourAndToolsMod.MOD_ID}") | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
forge/src/main/resources/data/armourandtoolsmod/dimension/chrono_realm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "armourandtoolsmod:chrono_realm", | ||
"generator": { | ||
"type": "minecraft:noise", | ||
"settings": "minecraft:overworld", | ||
"biome_source": { | ||
"type": "minecraft:fixed", | ||
"biome": "minecraft:plains" | ||
} | ||
} | ||
} |
26 changes: 13 additions & 13 deletions
26
...ralsmith/dimension_type/chrono_realm.json → ...toolsmod/dimension_type/chrono_realm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
{ | ||
"ambient_light": 0.0, | ||
"ultrawarm": false, | ||
"natural": false, | ||
"piglin_safe": true, | ||
"respawn_anchor_works": true, | ||
"bed_works": true, | ||
"coordinate_scale": 0, | ||
"effects": "minecraft:the_end", | ||
"has_ceiling": true, | ||
"has_raids": false, | ||
"has_skylight": true, | ||
"height": 256.0, | ||
"infiniburn": "minecraft:infiniburn_overworld", | ||
"logical_height": 0.0, | ||
"min_y": -64.0, | ||
"monster_spawn_block_light_limit": 0, | ||
"has_ceiling": true, | ||
"coordinate_scale": 1, | ||
"ambient_light": 0.1, | ||
"logical_height": 128, | ||
"effects": "minecraft:the_end", | ||
"infiniburn": "#minecraft:infiniburn_overworld", | ||
"min_y": -64, | ||
"height": 256, | ||
"monster_spawn_light_level": {}, | ||
"natural": false, | ||
"piglin_safe": true, | ||
"respawn_anchor_works": true, | ||
"ultrawarm": false | ||
"monster_spawn_block_light_limit": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
neoforge/src/generated/resources/.cache/ea348e63ce7a9d84aa35a65475959ea8e774c7be
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// 1.20.2 2023-11-18T19:31:56.003037 Dimension Type Provider for temporalsmith | ||
3a4787baf81ef455caaf6af44b8c478f7f2fc440 data/temporalsmith/dimension_type/chrono_realm.json | ||
// 1.20.2 2023-11-19T15:45:23.96022 Dimension Type Provider for temporalsmith | ||
00aa7a78568fbd54c672341070547f0bd39fdbad data/temporalsmith/dimension_type/chrono_realm.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
.../kotlin/io/github/realyusufismail/temporalsmith/datagen/dimension/ModDimensionProvider.kt
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
...lin/io/github/realyusufismail/temporalsmith/datagen/dimension/ModDimensionTypeProvider.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
neoforge/src/main/resources/data/temporalsmith/dimension/chrono_realm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"type": "temporalsmith:chrono_realm", | ||
"generator": { | ||
"type": "minecraft:noise", | ||
"settings": "minecraft:overworld", | ||
"biome_source": { | ||
"type": "minecraft:fixed", | ||
"biome": "minecraft:plains" | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
neoforge/src/main/resources/data/temporalsmith/dimension_type/chrono_realm.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"ultrawarm": false, | ||
"natural": false, | ||
"piglin_safe": true, | ||
"respawn_anchor_works": true, | ||
"bed_works": true, | ||
"has_raids": false, | ||
"has_skylight": true, | ||
"has_ceiling": true, | ||
"coordinate_scale": 1, | ||
"ambient_light": 0.1, | ||
"logical_height": 128, | ||
"infiniburn": "#minecraft:infiniburn_overworld", | ||
"min_y": -64, | ||
"height": 256, | ||
"monster_spawn_light_level": {}, | ||
"monster_spawn_block_light_limit": 0 | ||
} |