First release
Removed alterworld json, added lisence, added deepslate ore generation, updated code to be more "family friendly".
This commit is contained in:
@@ -21,6 +21,8 @@ import net.arcmods.ryantlg.items.tools.omniumTools;
|
||||
import net.arcmods.ryantlg.items.tools.oriumTools;
|
||||
import net.arcmods.ryantlg.lootTables.grassVanillaWeem;
|
||||
import net.arcmods.ryantlg.statusEffects.GamerEffects;
|
||||
import net.arcmods.ryantlg.worldGeneration.DeepslateOmniumOreGen;
|
||||
import net.arcmods.ryantlg.worldGeneration.DeepslateOriumOreGen;
|
||||
import net.arcmods.ryantlg.worldGeneration.JeremiumOreGen;
|
||||
import net.arcmods.ryantlg.worldGeneration.OmniumOreGen;
|
||||
import net.arcmods.ryantlg.worldGeneration.OriumOreGen;
|
||||
@@ -41,7 +43,7 @@ public class gamermod implements ModInitializer {
|
||||
|
||||
|
||||
public static final ItemGroup FNUTS = FabricItemGroupBuilder.build(
|
||||
new Identifier("gamermod", "fuck"),
|
||||
new Identifier("gamermod", "chins"),
|
||||
() -> new ItemStack(Items.NETHERITE_INGOT)
|
||||
);
|
||||
|
||||
@@ -54,29 +56,17 @@ public class gamermod implements ModInitializer {
|
||||
new Identifier("gamermod", "armour_and_tools"))
|
||||
.icon(() -> new ItemStack(omniumMetals.OMNIUM))
|
||||
.build();
|
||||
|
||||
// dims portals
|
||||
//===================================================
|
||||
|
||||
// JUST FUCKING KIDDING THE FUCKING API AINT WORKING
|
||||
// I WANT TO FUCKING KILL A CHILD WITH A RAZER SHARP
|
||||
// FUCKING BLADE THAT WILL END THE FUCKING WORLD AND
|
||||
// RIP THE FABRICS OF REALITY APART. DO YOU WANT TO
|
||||
// SEE THE FABRICS OF REALITY? OF COURSE YOU DO
|
||||
// THEN RUN /give @p gamermod:fabric_of_reality
|
||||
|
||||
//end
|
||||
//===================================================
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
LOGGER.info("Sup CUNT");
|
||||
LOGGER.info("Sup gamer");
|
||||
|
||||
omniumMetals.register();
|
||||
omniumArmour.register();
|
||||
omniumTools.register();
|
||||
omniumBlocks.register();
|
||||
OmniumOreGen.register();
|
||||
DeepslateOmniumOreGen.register();
|
||||
|
||||
weemItems.register();
|
||||
|
||||
@@ -92,6 +82,7 @@ public class gamermod implements ModInitializer {
|
||||
oriumArmour.register();
|
||||
oriumTools.register();
|
||||
OriumOreGen.register();
|
||||
DeepslateOriumOreGen.register();
|
||||
|
||||
CropBlocks.register();
|
||||
|
||||
|
||||
@@ -11,6 +11,6 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
public class GamerMixin {
|
||||
@Inject(at = @At("HEAD"), method = "init()V")
|
||||
private void init(CallbackInfo info) {
|
||||
gamermod.LOGGER.info("fuck you");
|
||||
gamermod.LOGGER.info("what a gamer");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
make gremlinite
|
||||
make gremlinite armour
|
||||
make gremlinite tools
|
||||
gremlinite
|
||||
nokium
|
||||
crafting recipes
|
||||
advancements
|
||||
argentine
|
||||
geranine
|
||||
jeremium
|
||||
soulium
|
||||
@@ -0,0 +1,48 @@
|
||||
package net.arcmods.ryantlg.worldGeneration;
|
||||
|
||||
import net.arcmods.ryantlg.gamermod;
|
||||
import net.arcmods.ryantlg.blocks.omniumBlocks;
|
||||
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
|
||||
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
|
||||
import net.minecraft.util.registry.RegistryKey;
|
||||
import net.minecraft.world.gen.YOffset;
|
||||
import net.minecraft.world.gen.GenerationStep;
|
||||
import net.minecraft.world.gen.decorator.CountPlacementModifier;
|
||||
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
|
||||
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
|
||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
|
||||
import net.minecraft.world.gen.feature.OreFeatureConfig;
|
||||
import net.minecraft.world.gen.feature.PlacedFeature;
|
||||
import net.minecraft.util.registry.BuiltinRegistries;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class DeepslateOmniumOreGen {
|
||||
|
||||
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
|
||||
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
|
||||
omniumBlocks.DEEPSLATE_OMNIUM_ORE.getDefaultState(),
|
||||
4)); // vein size
|
||||
|
||||
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
|
||||
CountPlacementModifier.of(2), // number of veins per chunk
|
||||
SquarePlacementModifier.of(), // spreading horizontally
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height
|
||||
|
||||
|
||||
|
||||
public static void register() {
|
||||
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
|
||||
new Identifier("gamermod", "deepslate_omnium_ore"), ORE_CONFIGURED_FEATURE);
|
||||
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "deepslate_omnium_ore"),
|
||||
ORE_PLACED_FEATURE);
|
||||
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
|
||||
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
|
||||
new Identifier("gamermod", "deepslate_omnium_ore")));
|
||||
|
||||
gamermod.LOGGER.info("DeepslateOmniumOreGen loaded");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package net.arcmods.ryantlg.worldGeneration;
|
||||
|
||||
import net.arcmods.ryantlg.gamermod;
|
||||
import net.arcmods.ryantlg.blocks.oriumBlocks;
|
||||
import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
|
||||
import net.fabricmc.fabric.api.biome.v1.BiomeSelectors;
|
||||
import net.minecraft.util.registry.RegistryKey;
|
||||
import net.minecraft.world.gen.YOffset;
|
||||
import net.minecraft.world.gen.GenerationStep;
|
||||
import net.minecraft.world.gen.decorator.CountPlacementModifier;
|
||||
import net.minecraft.world.gen.decorator.HeightRangePlacementModifier;
|
||||
import net.minecraft.world.gen.decorator.SquarePlacementModifier;
|
||||
import net.minecraft.world.gen.feature.ConfiguredFeature;
|
||||
import net.minecraft.world.gen.feature.Feature;
|
||||
import net.minecraft.world.gen.feature.OreConfiguredFeatures;
|
||||
import net.minecraft.world.gen.feature.OreFeatureConfig;
|
||||
import net.minecraft.world.gen.feature.PlacedFeature;
|
||||
import net.minecraft.util.registry.BuiltinRegistries;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class DeepslateOriumOreGen {
|
||||
|
||||
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
|
||||
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
|
||||
oriumBlocks.DEEPSLATE_ORIUM_ORE.getDefaultState(),
|
||||
5)); // vein size
|
||||
|
||||
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
|
||||
CountPlacementModifier.of(5), // number of veins per chunk
|
||||
SquarePlacementModifier.of(), // spreading horizontally
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
|
||||
|
||||
|
||||
|
||||
public static void register() {
|
||||
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
|
||||
new Identifier("gamermod", "deepslate_orium_ore"), ORE_CONFIGURED_FEATURE);
|
||||
Registry.register(BuiltinRegistries.PLACED_FEATURE, new Identifier("gamermod", "deepslate_orium_ore"),
|
||||
ORE_PLACED_FEATURE);
|
||||
BiomeModifications.addFeature(BiomeSelectors.foundInOverworld(), GenerationStep.Feature.UNDERGROUND_ORES,
|
||||
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
|
||||
new Identifier("gamermod", "deepslate_orium_ore")));
|
||||
|
||||
gamermod.LOGGER.info("DeepslateOriumOreGen loaded");
|
||||
}
|
||||
}
|
||||
@@ -24,7 +24,7 @@ public class JeremiumOreGen {
|
||||
private static ConfiguredFeature<?, ?> ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
|
||||
OreConfiguredFeatures.DEEPSLATE_ORE_REPLACEABLES,
|
||||
jeremiumBlocks.DEEPSLATE_JEREMIUM_ORE.getDefaultState(),
|
||||
4)); // vein size
|
||||
3)); // vein size
|
||||
|
||||
public static PlacedFeature ORE_PLACED_FEATURE = ORE_CONFIGURED_FEATURE.withPlacement(
|
||||
CountPlacementModifier.of(1), // number of veins per chunk
|
||||
@@ -34,7 +34,7 @@ public class JeremiumOreGen {
|
||||
|
||||
|
||||
public static void register() {
|
||||
gamermod.LOGGER.info("JeremiumOreGen loaded");
|
||||
|
||||
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
|
||||
new Identifier("gamermod", "deepslate_jeremium_ore"), ORE_CONFIGURED_FEATURE);
|
||||
@@ -44,5 +44,6 @@ public class JeremiumOreGen {
|
||||
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
|
||||
new Identifier("gamermod", "deepslate_jeremium_ore")));
|
||||
|
||||
gamermod.LOGGER.info("JeremiumOreGen loaded");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,14 +27,13 @@ public class OmniumOreGen {
|
||||
4)); // vein size
|
||||
|
||||
public static PlacedFeature OMNIUM_ORE_PLACED_FEATURE = OMNIUM_ORE_CONFIGURED_FEATURE.withPlacement(
|
||||
CountPlacementModifier.of(6), // number of veins per chunk
|
||||
CountPlacementModifier.of(2), // number of veins per chunk
|
||||
SquarePlacementModifier.of(), // spreading horizontally
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(28))); // height
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(19))); // height
|
||||
|
||||
|
||||
|
||||
public static void register() {
|
||||
gamermod.LOGGER.info("OmniumOreGen loaded");
|
||||
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
|
||||
new Identifier("gamermod", "omnium_ore"), OMNIUM_ORE_CONFIGURED_FEATURE);
|
||||
@@ -44,5 +43,6 @@ public class OmniumOreGen {
|
||||
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
|
||||
new Identifier("gamermod", "omnium_ore")));
|
||||
|
||||
gamermod.LOGGER.info("OmniumOreGen loaded");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,17 +24,16 @@ public class OriumOreGen {
|
||||
private static ConfiguredFeature<?, ?> ORIUM_ORE_CONFIGURED_FEATURE = Feature.ORE.configure(new OreFeatureConfig(
|
||||
OreConfiguredFeatures.STONE_ORE_REPLACEABLES,
|
||||
oriumBlocks.ORIUM_ORE.getDefaultState(),
|
||||
6)); // vein size
|
||||
5)); // vein size
|
||||
|
||||
public static PlacedFeature ORIUM_ORE_PLACED_FEATURE = ORIUM_ORE_CONFIGURED_FEATURE.withPlacement(
|
||||
CountPlacementModifier.of(9), // number of veins per chunk
|
||||
CountPlacementModifier.of(5), // number of veins per chunk
|
||||
SquarePlacementModifier.of(), // spreading horizontally
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(45))); // height
|
||||
HeightRangePlacementModifier.uniform(YOffset.getBottom(), YOffset.fixed(35))); // height
|
||||
|
||||
|
||||
|
||||
public static void register() {
|
||||
gamermod.LOGGER.info("OriumOreGen loaded");
|
||||
|
||||
Registry.register(BuiltinRegistries.CONFIGURED_FEATURE,
|
||||
new Identifier("gamermod", "orium_ore"), ORIUM_ORE_CONFIGURED_FEATURE);
|
||||
@@ -44,5 +43,6 @@ public class OriumOreGen {
|
||||
RegistryKey.of(Registry.PLACED_FEATURE_KEY,
|
||||
new Identifier("gamermod", "orium_ore")));
|
||||
|
||||
gamermod.LOGGER.info("OriumOreGen loaded");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user