Skip to content

Commit

Permalink
yeah i quite
Browse files Browse the repository at this point in the history
  • Loading branch information
RealYusufIsmail committed Nov 19, 2023
1 parent 1953c03 commit 86b0cac
Show file tree
Hide file tree
Showing 12 changed files with 42 additions and 125 deletions.
2 changes: 1 addition & 1 deletion neoforge/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ neoForgeVersion = 20.2.57-beta
kotlinForForgeVersion = 4.6.2
logbackVersion = 1.4.11
junitVersion = 5.10.0
coreVersion = 1.20.2-1.0.9
coreVersion = 1.20.2-1.1.1
jeiVersion = 16.0.0.28
lombokVersion = 1.18.30
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 was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
package io.github.realyusufismail.temporalsmith

import io.github.realyusufismail.realyusufismailcore.RealYusufIsmailCore.logger
import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.MOD_ID
import io.github.realyusufismail.temporalsmith.client.ClientEvents
import io.github.realyusufismail.temporalsmith.client.TemporalSmithShieldItemRendererProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import net.minecraft.client.gui.screens.MenuScreens
import net.minecraft.client.model.geom.ModelLayerLocation
import net.minecraft.client.multiplayer.ClientLevel
import net.minecraft.client.renderer.item.ItemProperties
import net.minecraft.core.registries.Registries
import net.minecraft.resources.ResourceLocation
import net.minecraft.server.level.ServerPlayer
import net.minecraft.sounds.SoundEvents
Expand All @@ -46,6 +47,7 @@ import net.neoforged.neoforge.client.event.EntityRenderersEvent
import net.neoforged.neoforge.client.event.InputEvent
import net.neoforged.neoforge.client.event.RegisterKeyMappingsEvent
import net.neoforged.neoforge.event.entity.living.LivingDeathEvent
import net.neoforged.neoforge.registries.RegisterEvent

object ClientEvents {
val MjolnirLayer = ModelLayerLocation(TemporalSmith.getModIdAndName("mjolnir"), "mjolnir")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,24 @@ package io.github.realyusufismail.temporalsmith.core.init

import io.github.realyusufismail.temporalsmith.TemporalSmith
import net.minecraft.core.registries.Registries
import net.minecraft.data.worldgen.BootstapContext
import net.minecraft.resources.ResourceKey
import net.minecraft.resources.ResourceLocation
import net.minecraft.util.RandomSource
import net.minecraft.util.valueproviders.IntProvider
import net.minecraft.util.valueproviders.IntProviderType
import net.minecraft.world.level.Level
import net.minecraft.world.level.dimension.DimensionType
import net.neoforged.neoforge.registries.ForgeRegistries
import java.util.*

object DimensionsInit {
val chronoRealmKey: ResourceKey<Level> =
val CHRON_REAL: ResourceKey<Level> =
ResourceKey.create(Registries.DIMENSION, TemporalSmith.getModIdAndName("chrono_realm"))
val chronoRealmype: ResourceKey<DimensionType> =
ResourceKey.create(Registries.DIMENSION_TYPE, chronoRealmKey.registry())
val CHRON_REAL_TYPE: ResourceKey<DimensionType> =
ResourceKey.create(Registries.DIMENSION_TYPE, TemporalSmith.getModIdAndName("chrono_realm"))

fun register() {
TemporalSmith.logger.info("Registering dimensions for ${TemporalSmith.MOD_ID}")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ package io.github.realyusufismail.temporalsmith.datagen

import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.logger
import io.github.realyusufismail.temporalsmith.datagen.advancment.ModAdvancementProvider
import io.github.realyusufismail.temporalsmith.datagen.dimension.ModDimensionProvider
import io.github.realyusufismail.temporalsmith.datagen.dimension.ModDimensionTypeProvider
import io.github.realyusufismail.temporalsmith.datagen.lang.ModEnLangProvider
import io.github.realyusufismail.temporalsmith.datagen.loot.ModLootTables
import io.github.realyusufismail.temporalsmith.datagen.recipe.MainModRecipeProvider
Expand Down Expand Up @@ -70,8 +68,6 @@ object DataGenerators {
ArmourAndTollsModSpriteSourceProvider(gen.packOutput, existingFileHelper, lookup))
gen.addProvider(
true, ModAdvancementProvider(gen.packOutput, lookup, existingFileHelper))
gen.addProvider(true, ModDimensionTypeProvider(gen))
gen.addProvider(true, ModDimensionProvider(gen.packOutput))
gen.addProvider(true, PackMetadataGenerator(gen.packOutput))
.add(
PackMetadataSection.TYPE,
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package io.github.realyusufismail.temporalsmith.datagen.world

import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.MOD_ID
import io.github.realyusufismail.temporalsmith.core.init.DimensionsInit
import io.github.realyusufismail.temporalsmith.worldgen.ModConfiguredFeatures
import io.github.realyusufismail.temporalsmith.worldgen.ModPlacedFeatures
import java.util.concurrent.CompletableFuture
Expand Down
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"
}
}
}
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
}

0 comments on commit 86b0cac

Please sign in to comment.