7 Commits

Author SHA1 Message Date
Motschen
1ef561be80 Remove local maven (MidnightLib is now downloaded from Modrinth maven) 2021-10-05 17:15:16 +02:00
Motschen
ea056019ec ThisRocks! 1.5.1 - Fix crash when picking Starfish 2021-10-05 17:14:08 +02:00
Motschen
f09b349756 This Rocks 1.5.0 - Crimson & Warped Sticks, Config, Compat
- Added Crimson and Warped sticks that generate in nether forests
- Add config to disable spawning of each block
- Migrate to Fabric Biome API
(results in better compatibility with biome datapacks)
- Optimize assets by @RDKRACZ
2021-09-19 13:48:20 +02:00
Motschen
55cb0ec293 Merge pull request #22 from RDKRACZ/oxipng
Optimized assets.
2021-09-15 21:10:50 +02:00
K0RR
9e88035dba Update README.md 2021-09-09 12:48:26 +02:00
K0RR
d18c72aad4 Update gradle-wrapper.properties 2021-09-09 12:47:06 +02:00
K0RR
2056feac66 Optimized assets.
Lossless compression.
2021-08-02 01:09:31 +02:00
32 changed files with 323 additions and 127 deletions

View File

@@ -1,2 +1,4 @@
# This Rocks! # This Rocks!
https://www.curseforge.com/minecraft/mc-mods/this-rocks
This super amazing beautiful wonderful mod adds little rocks, sticks, pinecones and seashells to your world to make it feel more natural. This super amazing beautiful wonderful mod adds little rocks, sticks, pinecones and seashells to your world to make it feel more natural.

View File

@@ -17,6 +17,9 @@ minecraft {
repositories { repositories {
maven { url "https://maven.terraformersmc.com/releases" } maven { url "https://maven.terraformersmc.com/releases" }
maven { url "https://jitpack.io" } maven { url "https://jitpack.io" }
maven {
url = "https://api.modrinth.com/maven"
}
} }
dependencies { dependencies {
@@ -27,9 +30,9 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway. // Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "com.github.TeamMidnightDust:MidnightLib:${midnightlib_version}" modImplementation "maven.modrinth:midnightlib:${midnightlib_version}"
include "com.github.TeamMidnightDust:MidnightLib:${midnightlib_version}" include "maven.modrinth:midnightlib:${midnightlib_version}"
} }
processResources { processResources {

View File

@@ -3,16 +3,16 @@ org.gradle.jvmargs=-Xmx2G
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/use # check these on https://fabricmc.net/use
minecraft_version=1.17-pre1 minecraft_version=1.17.1
yarn_mappings=1.17-pre1+build.9 yarn_mappings=1.17.1+build.61
loader_version=0.11.3 loader_version=0.11.7
# Mod Properties # Mod Properties
mod_version = 1.4.0 mod_version = 1.5.1
maven_group = eu.midnightdust.motschen maven_group = eu.midnightdust.motschen
archives_base_name = rocks archives_base_name = rocks
# Dependencies # Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api # currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.34.8+1.17 fabric_version=0.40.1+1.17
midnightlib_version=v0.2.2 midnightlib_version=0.2.6

View File

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

@@ -7,8 +7,8 @@ import net.minecraft.util.Identifier;
public class RocksClient implements ClientModInitializer { public class RocksClient implements ClientModInitializer {
@Override @Override
public void onInitializeClient() { public void onInitializeClient() {
FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("red"), (stack, world, entity, seed) -> (stack.getTag() != null && stack.getTag().getString("variation").equals("red")) ? 1 : 0); FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("red"), (stack, world, entity, seed) -> (stack.getNbt() != null && stack.getNbt().getString("variation").equals("red")) ? 1 : 0);
FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("pink"), (stack, world, entity, seed) -> (stack.getTag() != null && stack.getTag().getString("variation").equals("pink")) ? 1 : 0); FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("pink"), (stack, world, entity, seed) -> (stack.getNbt() != null && stack.getNbt().getString("variation").equals("pink")) ? 1 : 0);
FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("orange"), (stack, world, entity, seed) -> (stack.getTag() != null && stack.getTag().getString("variation").equals("orange")) ? 1 : 0); FabricModelPredicateProviderRegistry.register(RocksMain.Starfish.asItem(), new Identifier("orange"), (stack, world, entity, seed) -> (stack.getNbt() != null && stack.getNbt().getString("variation").equals("orange")) ? 1 : 0);
} }
} }

View File

@@ -6,6 +6,7 @@ import eu.midnightdust.motschen.rocks.blockstates.RockVariation;
import eu.midnightdust.motschen.rocks.blockstates.SeashellVariation; import eu.midnightdust.motschen.rocks.blockstates.SeashellVariation;
import eu.midnightdust.motschen.rocks.blockstates.StarfishVariation; import eu.midnightdust.motschen.rocks.blockstates.StarfishVariation;
import eu.midnightdust.motschen.rocks.blockstates.StickVariation; import eu.midnightdust.motschen.rocks.blockstates.StickVariation;
import eu.midnightdust.motschen.rocks.config.RocksConfig;
import eu.midnightdust.motschen.rocks.world.*; import eu.midnightdust.motschen.rocks.world.*;
import eu.midnightdust.motschen.rocks.world.configured_feature.MiscFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.MiscFeatures;
import eu.midnightdust.motschen.rocks.world.configured_feature.NetherFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.NetherFeatures;
@@ -20,9 +21,7 @@ import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.Registry;
public class RocksMain implements ModInitializer { public class RocksMain implements ModInitializer {
public static final String MOD_ID = "rocks"; public static final String MOD_ID = "rocks";
public static final ItemGroup RocksGroup = FabricItemGroupBuilder.build(new Identifier(MOD_ID, "rocks"), () -> new ItemStack(RocksMain.Rock)); public static final ItemGroup RocksGroup = FabricItemGroupBuilder.build(new Identifier(MOD_ID, "rocks"), () -> new ItemStack(RocksMain.Rock));
public static final EnumProperty<RockVariation> ROCK_VARIATION = EnumProperty.of("variation", RockVariation.class); public static final EnumProperty<RockVariation> ROCK_VARIATION = EnumProperty.of("variation", RockVariation.class);
@@ -47,6 +46,8 @@ public class RocksMain implements ModInitializer {
public static Block AcaciaStick = new Stick(); public static Block AcaciaStick = new Stick();
public static Block JungleStick = new Stick(); public static Block JungleStick = new Stick();
public static Block DarkOakStick = new Stick(); public static Block DarkOakStick = new Stick();
public static Block CrimsonStick = new Stick();
public static Block WarpedStick = new Stick();
public static Block Pinecone = new Pinecone(); public static Block Pinecone = new Pinecone();
public static Block Seashell = new Seashell(); public static Block Seashell = new Seashell();
@@ -66,6 +67,8 @@ public class RocksMain implements ModInitializer {
@Override @Override
public void onInitialize() { public void onInitialize() {
RocksConfig.init("rocks", RocksConfig.class);
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"rock"), Rock); Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"rock"), Rock);
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"rock"), new BlockItem(Rock, new Item.Settings().group(RocksMain.RocksGroup))); Registry.register(Registry.ITEM, new Identifier(MOD_ID,"rock"), new BlockItem(Rock, new Item.Settings().group(RocksMain.RocksGroup)));
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"granite_rock"), GraniteRock); Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"granite_rock"), GraniteRock);
@@ -99,6 +102,10 @@ public class RocksMain implements ModInitializer {
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"jungle_stick"), new BlockItem(JungleStick, new Item.Settings().group(RocksMain.RocksGroup))); Registry.register(Registry.ITEM, new Identifier(MOD_ID,"jungle_stick"), new BlockItem(JungleStick, new Item.Settings().group(RocksMain.RocksGroup)));
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"dark_oak_stick"), DarkOakStick); Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"dark_oak_stick"), DarkOakStick);
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"dark_oak_stick"), new BlockItem(DarkOakStick, new Item.Settings().group(RocksMain.RocksGroup))); Registry.register(Registry.ITEM, new Identifier(MOD_ID,"dark_oak_stick"), new BlockItem(DarkOakStick, new Item.Settings().group(RocksMain.RocksGroup)));
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"crimson_stick"), CrimsonStick);
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"crimson_stick"), new BlockItem(CrimsonStick, new Item.Settings().group(RocksMain.RocksGroup)));
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"warped_stick"), WarpedStick);
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"warped_stick"), new BlockItem(WarpedStick, new Item.Settings().group(RocksMain.RocksGroup)));
Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"geyser"), Geyser); Registry.register(Registry.BLOCK, new Identifier(MOD_ID,"geyser"), Geyser);
Registry.register(Registry.ITEM, new Identifier(MOD_ID,"geyser"), new BlockItem(Geyser, new Item.Settings().group(RocksMain.RocksGroup))); Registry.register(Registry.ITEM, new Identifier(MOD_ID,"geyser"), new BlockItem(Geyser, new Item.Settings().group(RocksMain.RocksGroup)));

View File

@@ -50,8 +50,8 @@ public class Starfish extends Block implements Waterloggable {
public BlockState getPlacementState(ItemPlacementContext itemPlacementContext) { public BlockState getPlacementState(ItemPlacementContext itemPlacementContext) {
ItemStack stack = itemPlacementContext.getStack(); ItemStack stack = itemPlacementContext.getStack();
StarfishVariation variation = StarfishVariation.RED; StarfishVariation variation = StarfishVariation.RED;
if (stack.getTag() != null) { if (stack.getNbt() != null) {
var optionalVariation = STARFISH_VARIATION.parse(stack.getTag().getString("variation")); var optionalVariation = STARFISH_VARIATION.parse(stack.getNbt().getString("variation"));
if (optionalVariation.isPresent()) variation = optionalVariation.get(); if (optionalVariation.isPresent()) variation = optionalVariation.get();
} }
FluidState fluidState = itemPlacementContext.getWorld().getFluidState(itemPlacementContext.getBlockPos()); FluidState fluidState = itemPlacementContext.getWorld().getFluidState(itemPlacementContext.getBlockPos());
@@ -61,7 +61,7 @@ public class Starfish extends Block implements Waterloggable {
@Override @Override
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state) { public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state) {
ItemStack stack = new ItemStack(this); ItemStack stack = new ItemStack(this);
stack.getOrCreateTag().putString("variation", state.get(STARFISH_VARIATION).asString()); stack.getOrCreateNbt().putString("variation", state.get(STARFISH_VARIATION).asString());
LOGGER.info(state.get(STARFISH_VARIATION).asString()); LOGGER.info(state.get(STARFISH_VARIATION).asString());
return stack; return stack;
} }

View File

@@ -0,0 +1,38 @@
package eu.midnightdust.motschen.rocks.config;
import eu.midnightdust.lib.config.MidnightConfig;
public class RocksConfig extends MidnightConfig {
@Comment public static Comment needs_restart;
@Comment public static Comment rocks;
@Entry(name = "block.rocks.rock") public static boolean rock = true;
@Entry(name = "block.rocks.granite_rock") public static boolean granite_rock = true;
@Entry(name = "block.rocks.diorite_rock") public static boolean diorite_rock = true;
@Entry(name = "block.rocks.andesite_rock") public static boolean andesite_rock = true;
@Entry(name = "block.rocks.sand_rock") public static boolean sand_rock = true;
@Entry(name = "block.rocks.red_sand_rock") public static boolean red_sand_rock = true;
@Entry(name = "block.rocks.gravel_rock") public static boolean gravel_rock = true;
@Entry(name = "block.rocks.end_stone_rock") public static boolean end_stone_rock = true;
@Entry(name = "block.rocks.netherrack_rock") public static boolean netherrack_rock = true;
@Entry(name = "block.rocks.soul_soil_rock") public static boolean soul_soil_rock = true;
@Comment public static Comment sticks;
@Entry(name = "block.rocks.oak_stick") public static boolean oak_stick = true;
@Entry(name = "block.rocks.spruce_stick") public static boolean spruce_stick = true;
@Entry(name = "block.rocks.birch_stick") public static boolean birch_stick = true;
@Entry(name = "block.rocks.acacia_stick") public static boolean acacia_stick = true;
@Entry(name = "block.rocks.jungle_stick") public static boolean jungle_stick = true;
@Entry(name = "block.rocks.dark_oak_stick") public static boolean dark_oak_stick = true;
@Entry(name = "block.rocks.crimson_stick") public static boolean crimson_stick = true;
@Entry(name = "block.rocks.warped_stick") public static boolean warped_stick = true;
@Comment public static Comment misc;
@Entry(name = "block.rocks.pinecone") public static boolean pinecone = true;
@Entry(name = "block.rocks.geyser") public static boolean geyser = true;
@Entry(name = "block.rocks.nether_geyser") public static boolean nether_geyser = true;
@Entry(name = "block.rocks.seashell") public static boolean seashell = true;
@Entry(name = "block.rocks.starfish") public static boolean starfish = true;
@Entry public static boolean underwater_seashell = true;
@Entry public static boolean underwater_starfish = true;
}

View File

@@ -1,19 +0,0 @@
package eu.midnightdust.motschen.rocks.mixin;
import net.minecraft.world.biome.GenerationSettings;
import net.minecraft.world.gen.feature.ConfiguredFeature;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
import java.util.List;
import java.util.function.Supplier;
@Mixin(GenerationSettings.class)
public interface GenerationSettingsAccessorMixin {
@Accessor
List<List<Supplier<ConfiguredFeature<?, ?>>>> getFeatures();
@Accessor
void setFeatures(List<List<Supplier<ConfiguredFeature<?, ?>>>> features);
}

View File

@@ -1,102 +1,96 @@
package eu.midnightdust.motschen.rocks.world; package eu.midnightdust.motschen.rocks.world;
import com.google.common.collect.Lists; import eu.midnightdust.motschen.rocks.config.RocksConfig;
import eu.midnightdust.motschen.rocks.mixin.GenerationSettingsAccessorMixin;
import eu.midnightdust.motschen.rocks.world.configured_feature.MiscFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.MiscFeatures;
import eu.midnightdust.motschen.rocks.world.configured_feature.NetherFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.NetherFeatures;
import eu.midnightdust.motschen.rocks.world.configured_feature.RockFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.RockFeatures;
import eu.midnightdust.motschen.rocks.world.configured_feature.StickFeatures; import eu.midnightdust.motschen.rocks.world.configured_feature.StickFeatures;
import net.fabricmc.fabric.api.event.registry.RegistryEntryAddedCallback; import net.fabricmc.fabric.api.biome.v1.BiomeModifications;
import net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext;
import net.minecraft.util.registry.BuiltinRegistries; import net.minecraft.util.registry.BuiltinRegistries;
import net.minecraft.world.biome.Biome; import net.minecraft.world.biome.Biome;
import net.minecraft.world.gen.GenerationStep; import net.minecraft.world.gen.GenerationStep;
import net.minecraft.world.gen.feature.ConfiguredFeature; import java.util.function.Predicate;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Supplier;
@SuppressWarnings({"deprecation", "OptionalGetWithoutIsPresent"})
public class FeatureInjector { public class FeatureInjector {
public static void init() { public static void init() {
BuiltinRegistries.BIOME.forEach(FeatureInjector::addRockToBiome);
RegistryEntryAddedCallback.event(BuiltinRegistries.BIOME).register((i, identifier, biome) -> addRockToBiome(biome));
}
private static void addRockToBiome(Biome biome) {
// Rocks // Rocks
if (biome.getCategory() != Biome.Category.NETHER && biome.getCategory() != Biome.Category.THEEND && biome.getCategory() != Biome.Category.BEACH && biome.getCategory() != Biome.Category.DESERT && biome.getCategory() != Biome.Category.MESA && biome.getCategory() != Biome.Category.ICY && biome.getCategory() != Biome.Category.OCEAN) { Predicate<BiomeSelectionContext> rocks = (ctx -> {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.ROCK_FEATURE); Biome.Category cat = ctx.getBiome().getCategory();
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.GRANITE_ROCK_FEATURE); return cat != Biome.Category.NETHER && cat != Biome.Category.THEEND && cat!= Biome.Category.BEACH && cat != Biome.Category.DESERT
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.DIORITE_ROCK_FEATURE); && cat != Biome.Category.MESA && cat != Biome.Category.ICY && cat != Biome.Category.OCEAN ;});
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.ANDESITE_ROCK_FEATURE); if (RocksConfig.rock) BiomeModifications.addFeature(rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.ROCK_FEATURE).get());
} if (RocksConfig.granite_rock) BiomeModifications.addFeature(rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.GRANITE_ROCK_FEATURE).get());
if (biome.getCategory() == Biome.Category.BEACH || biome.getCategory() == Biome.Category.DESERT || biome.getCategory() == Biome.Category.MESA || biome.toString().contains("terrestria:lush_desert")) { if (RocksConfig.diorite_rock) BiomeModifications.addFeature(rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.DIORITE_ROCK_FEATURE).get());
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.SAND_ROCK_FEATURE); if (RocksConfig.andesite_rock) BiomeModifications.addFeature(rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.ANDESITE_ROCK_FEATURE).get());
}
if (biome.getCategory() == Biome.Category.MESA || biome.getCategory() == Biome.Category.DESERT || biome.toString().contains("terrestria:lush_desert")) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.RED_SAND_ROCK_FEATURE);
}
if (biome.getCategory() == Biome.Category.THEEND) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.END_STONE_ROCK_FEATURE);
}
// Sticks
if (biome.toString().contains("minecraft:forest") || biome.toString().contains("minecraft:wooded_hills") ||
biome.toString().contains("minecraft:wooded_mountains") || biome.toString().contains("minecraft:plains") ||
biome.toString().contains("minecraft:flower_forest") || biome.toString().contains("minecraft:wooded_badlands_plateau") ||
biome.toString().contains("minecraft:modified_wooded_badlands_plateau") || biome.getCategory() == Biome.Category.SWAMP) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, StickFeatures.OAK_STICK_FEATURE);
}
if (biome.toString().contains("minecraft:forest") || biome.toString().contains("minecraft:birch_forest") ||
biome.toString().contains("minecraft:birch_forest_hills") || biome.toString().contains("minecraft:flower_forest")) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, StickFeatures.BIRCH_STICK_FEATURE);
}
if (biome.toString().contains("minecraft:wooded_mountains") || biome.getCategory() == Biome.Category.TAIGA) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, StickFeatures.SPRUCE_STICK_FEATURE);
}
if (biome.getCategory() == Biome.Category.SAVANNA) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, StickFeatures.ACACIA_STICK_FEATURE);
}
if (biome.getCategory() == Biome.Category.JUNGLE) {
addRockFeature(biome, GenerationStep.Feature.UNDERGROUND_DECORATION, StickFeatures.JUNGLE_STICK_FEATURE);
}
if (biome.toString().contains("minecraft:dark_forest") || biome.toString().contains("minecraft:dark_forest_hills") ||
biome.toString().contains("minecraft:dark_forest_mountains")) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, StickFeatures.DARK_OAK_STICK_FEATURE);
}
// Misc
if (biome.getCategory() == Biome.Category.BEACH && !biome.toString().contains("minecraft:snowy_beach")) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, MiscFeatures.SEASHELL_FEATURE);
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, MiscFeatures.STARFISH_FEATURE);
}
if (biome.getCategory() == Biome.Category.OCEAN) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, MiscFeatures.UNDERWATER_STARFISH_FEATURE);
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, MiscFeatures.UNDERWATER_SEASHELL_FEATURE);
}
if (biome.getCategory() == Biome.Category.NETHER) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, NetherFeatures.NETHERRACK_ROCK_FEATURE);
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, NetherFeatures.SOUL_SOIL_ROCK_FEATURE);
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, NetherFeatures.NETHER_GRAVEL_ROCK_FEATURE);
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, NetherFeatures.NETHER_GEYSER_FEATURE);
}
if (biome.getCategory() != Biome.Category.NETHER) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, RockFeatures.GRAVEL_ROCK_FEATURE);
}
if (biome.getCategory() == Biome.Category.ICY) {
addRockFeature(biome, GenerationStep.Feature.TOP_LAYER_MODIFICATION, MiscFeatures.SNOWY_GEYSER_FEATURE);
}
}
public static void addRockFeature(Biome biome, GenerationStep.Feature step, ConfiguredFeature<?, ?> feature) { Predicate<BiomeSelectionContext> sand_rocks = (ctx -> {
GenerationSettingsAccessorMixin generationSettingsAccessor = (GenerationSettingsAccessorMixin) biome.getGenerationSettings(); Biome.Category cat = ctx.getBiome().getCategory();
int stepIndex = step.ordinal(); return cat == Biome.Category.BEACH || cat == Biome.Category.DESERT || cat == Biome.Category.MESA || ctx.getBiomeKey().getValue().toString().contains("terrestria:lush_desert");
List<List<Supplier<ConfiguredFeature<?, ?>>>> featuresByStep = new ArrayList<>( generationSettingsAccessor.getFeatures()); });
while (featuresByStep.size() <= stepIndex) { if (RocksConfig.sand_rock) BiomeModifications.addFeature(sand_rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.SAND_ROCK_FEATURE).get());
featuresByStep.add(Lists.newArrayList());
} Predicate<BiomeSelectionContext> red_sand_rocks = (ctx -> {
List<Supplier<ConfiguredFeature<?, ?>>> features = new ArrayList<>(featuresByStep.get(stepIndex)); Biome.Category cat = ctx.getBiome().getCategory();
features.add(() -> feature); return cat == Biome.Category.MESA || cat == Biome.Category.DESERT || ctx.getBiomeKey().getValue().toString().contains("terrestria:lush_desert");
featuresByStep.set(stepIndex, features); });
generationSettingsAccessor.setFeatures(featuresByStep); if (RocksConfig.red_sand_rock) BiomeModifications.addFeature(red_sand_rocks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.RED_SAND_ROCK_FEATURE).get());
if (RocksConfig.end_stone_rock) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.THEEND, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.END_STONE_ROCK_FEATURE).get());
// Sticks
Predicate<BiomeSelectionContext> oak_sticks = (ctx -> {
String name = ctx.getBiomeKey().getValue().toString();
Biome.Category cat = ctx.getBiome().getCategory();
return name.contains("minecraft:forest") || name.contains("minecraft:wooded_hills") || name.contains("oak") ||
name.contains("minecraft:wooded_mountains") || name.contains("minecraft:plains") ||
name.contains("minecraft:flower_forest") || name.contains("minecraft:wooded_badlands_plateau") ||
name.contains("minecraft:modified_wooded_badlands_plateau") || cat == Biome.Category.SWAMP;});
if (RocksConfig.oak_stick) BiomeModifications.addFeature(oak_sticks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.OAK_STICK_FEATURE).get());
Predicate<BiomeSelectionContext> birch_sticks = (ctx -> {
String name = ctx.getBiomeKey().getValue().toString();
return name.contains("minecraft:forest") || name.contains("birch") || name.contains("minecraft:flower_forest");});
if (RocksConfig.birch_stick) BiomeModifications.addFeature(birch_sticks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.BIRCH_STICK_FEATURE).get());
Predicate<BiomeSelectionContext> spruce_sticks = (ctx -> {
String name = ctx.getBiomeKey().getValue().toString();
Biome.Category cat = ctx.getBiome().getCategory();
return name.contains("minecraft:wooded_mountains") || cat == Biome.Category.TAIGA;});
if (RocksConfig.spruce_stick) BiomeModifications.addFeature(spruce_sticks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.SPRUCE_STICK_FEATURE).get());
if (RocksConfig.acacia_stick) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.SAVANNA, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.ACACIA_STICK_FEATURE).get());
if (RocksConfig.jungle_stick) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.JUNGLE, GenerationStep.Feature.UNDERGROUND_DECORATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.JUNGLE_STICK_FEATURE).get());
Predicate<BiomeSelectionContext> dark_oak_sticks = (ctx -> {
String name = ctx.getBiomeKey().getValue().toString();
return name.contains("minecraft:dark_forest") || name.contains("minecraft:dark_forest_hills") ||
name.contains("minecraft:dark_forest_mountains");});
if (RocksConfig.dark_oak_stick) BiomeModifications.addFeature(dark_oak_sticks, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(StickFeatures.DARK_OAK_STICK_FEATURE).get());
// Misc
Predicate<BiomeSelectionContext> beach = (ctx -> {
String name = ctx.getBiomeKey().getValue().toString();
Biome.Category cat = ctx.getBiome().getCategory();
return cat == Biome.Category.BEACH && !name.contains("snow");});
if (RocksConfig.seashell) BiomeModifications.addFeature(beach, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(MiscFeatures.SEASHELL_FEATURE).get());
if (RocksConfig.starfish) BiomeModifications.addFeature(beach, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(MiscFeatures.STARFISH_FEATURE).get());
if (RocksConfig.underwater_starfish) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.OCEAN, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(MiscFeatures.UNDERWATER_STARFISH_FEATURE).get());
if (RocksConfig.underwater_seashell) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.OCEAN, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(MiscFeatures.UNDERWATER_SEASHELL_FEATURE).get());
if (RocksConfig.netherrack_rock) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.NETHERRACK_ROCK_FEATURE).get());
if (RocksConfig.soul_soil_rock) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.SOUL_SOIL_ROCK_FEATURE).get());
if (RocksConfig.gravel_rock) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.NETHER_GRAVEL_ROCK_FEATURE).get());
if (RocksConfig.nether_geyser) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.NETHER_GEYSER_FEATURE).get());
if (RocksConfig.warped_stick) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.WARPED_STICK_FEATURE).get());
if (RocksConfig.crimson_stick) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(NetherFeatures.CRIMSON_STICK_FEATURE).get());
if (RocksConfig.gravel_rock) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() != Biome.Category.NETHER, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(RockFeatures.GRAVEL_ROCK_FEATURE).get());
if (RocksConfig.geyser) BiomeModifications.addFeature(ctx -> ctx.getBiome().getCategory() == Biome.Category.ICY, GenerationStep.Feature.TOP_LAYER_MODIFICATION, BuiltinRegistries.CONFIGURED_FEATURE.getKey(MiscFeatures.SNOWY_GEYSER_FEATURE).get());
} }
} }

View File

@@ -3,6 +3,7 @@ package eu.midnightdust.motschen.rocks.world.configured_feature;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
import eu.midnightdust.motschen.rocks.RocksMain; import eu.midnightdust.motschen.rocks.RocksMain;
import eu.midnightdust.motschen.rocks.blockstates.RockVariation; import eu.midnightdust.motschen.rocks.blockstates.RockVariation;
import eu.midnightdust.motschen.rocks.blockstates.StickVariation;
import eu.midnightdust.motschen.rocks.world.RocksDecorators; import eu.midnightdust.motschen.rocks.world.RocksDecorators;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks; import net.minecraft.block.Blocks;
@@ -56,6 +57,25 @@ public class NetherFeatures {
.tries(1).spreadX(0).spreadY(0).spreadZ(0) .tries(1).spreadX(0).spreadY(0).spreadZ(0)
.whitelist(ImmutableSet.of(Blocks.NETHERRACK)).cannotProject().build())).decorate(RocksDecorators.ROCK).repeat(16); .whitelist(ImmutableSet.of(Blocks.NETHERRACK)).cannotProject().build())).decorate(RocksDecorators.ROCK).repeat(16);
public static ConfiguredFeature<?, ?> WARPED_STICK_FEATURE = Feature.RANDOM_PATCH.configure(
(new RandomPatchFeatureConfig.Builder(
new WeightedBlockStateProvider(DataPool.<BlockState>builder()
.add(RocksMain.WarpedStick.getDefaultState().with(RocksMain.STICK_VARIATION, StickVariation.SMALL), 7)
.add(RocksMain.WarpedStick.getDefaultState().with(RocksMain.STICK_VARIATION,StickVariation.MEDIUM), 5)
.add(RocksMain.WarpedStick.getDefaultState().with(RocksMain.STICK_VARIATION,StickVariation.LARGE), 1).build()),
SimpleBlockPlacer.INSTANCE))
.tries(1).spreadX(0).spreadY(0).spreadZ(0)
.whitelist(ImmutableSet.of(Blocks.WARPED_NYLIUM)).cannotProject().build()).decorate(RocksDecorators.ROCK).repeat(128);
public static ConfiguredFeature<?, ?> CRIMSON_STICK_FEATURE = Feature.RANDOM_PATCH.configure(
(new RandomPatchFeatureConfig.Builder(
new WeightedBlockStateProvider(DataPool.<BlockState>builder()
.add(RocksMain.CrimsonStick.getDefaultState().with(RocksMain.STICK_VARIATION, StickVariation.SMALL), 7)
.add(RocksMain.CrimsonStick.getDefaultState().with(RocksMain.STICK_VARIATION,StickVariation.MEDIUM), 5)
.add(RocksMain.CrimsonStick.getDefaultState().with(RocksMain.STICK_VARIATION,StickVariation.LARGE), 1).build()),
SimpleBlockPlacer.INSTANCE))
.tries(1).spreadX(0).spreadY(0).spreadZ(0)
.whitelist(ImmutableSet.of(Blocks.CRIMSON_NYLIUM)).cannotProject().build()).decorate(RocksDecorators.ROCK).repeat(128);
public static void init() { public static void init() {
Registry<ConfiguredFeature<?, ?>> registry = BuiltinRegistries.CONFIGURED_FEATURE; Registry<ConfiguredFeature<?, ?>> registry = BuiltinRegistries.CONFIGURED_FEATURE;
@@ -63,6 +83,9 @@ public class NetherFeatures {
Registry.register(registry, new Identifier(RocksMain.MOD_ID, "soul_soil_rock"), SOUL_SOIL_ROCK_FEATURE); Registry.register(registry, new Identifier(RocksMain.MOD_ID, "soul_soil_rock"), SOUL_SOIL_ROCK_FEATURE);
Registry.register(registry, new Identifier(RocksMain.MOD_ID, "nether_gravel_rock"), NETHER_GRAVEL_ROCK_FEATURE); Registry.register(registry, new Identifier(RocksMain.MOD_ID, "nether_gravel_rock"), NETHER_GRAVEL_ROCK_FEATURE);
Registry.register(registry, new Identifier(RocksMain.MOD_ID, "nether_geyser"), NETHER_GEYSER_FEATURE); Registry.register(registry, new Identifier(RocksMain.MOD_ID, "nether_geyser"), NETHER_GEYSER_FEATURE);
Registry.register(registry, new Identifier(RocksMain.MOD_ID, "warped_stick"), WARPED_STICK_FEATURE);
Registry.register(registry, new Identifier(RocksMain.MOD_ID, "crimson_stick"), CRIMSON_STICK_FEATURE);
} }
} }

View File

@@ -3,6 +3,7 @@ package eu.midnightdust.motschen.rocks.world.configured_feature;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
import eu.midnightdust.motschen.rocks.RocksMain; import eu.midnightdust.motschen.rocks.RocksMain;
import eu.midnightdust.motschen.rocks.blockstates.RockVariation; import eu.midnightdust.motschen.rocks.blockstates.RockVariation;
import eu.midnightdust.motschen.rocks.config.RocksConfig;
import eu.midnightdust.motschen.rocks.world.RocksDecorators; import eu.midnightdust.motschen.rocks.world.RocksDecorators;
import net.minecraft.block.BlockState; import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks; import net.minecraft.block.Blocks;

View File

@@ -0,0 +1,22 @@
{
"variants": {
"variation=small": [
{"model": "rocks:block/small_crimson_stick"},
{"model": "rocks:block/small_crimson_stick", "y": 90},
{"model": "rocks:block/small_crimson_stick", "y": 180},
{"model": "rocks:block/small_crimson_stick", "y": 270}
],
"variation=medium": [
{"model": "rocks:block/medium_crimson_stick"},
{"model": "rocks:block/medium_crimson_stick", "y": 90},
{"model": "rocks:block/medium_crimson_stick", "y": 180},
{"model": "rocks:block/medium_crimson_stick", "y": 270}
],
"variation=large": [
{"model": "rocks:block/large_crimson_stick"},
{"model": "rocks:block/large_crimson_stick", "y": 90},
{"model": "rocks:block/large_crimson_stick", "y": 180},
{"model": "rocks:block/large_crimson_stick", "y": 270}
]
}
}

View File

@@ -0,0 +1,22 @@
{
"variants": {
"variation=small": [
{"model": "rocks:block/small_warped_stick"},
{"model": "rocks:block/small_warped_stick", "y": 90},
{"model": "rocks:block/small_warped_stick", "y": 180},
{"model": "rocks:block/small_warped_stick", "y": 270}
],
"variation=medium": [
{"model": "rocks:block/medium_warped_stick"},
{"model": "rocks:block/medium_warped_stick", "y": 90},
{"model": "rocks:block/medium_warped_stick", "y": 180},
{"model": "rocks:block/medium_warped_stick", "y": 270}
],
"variation=large": [
{"model": "rocks:block/large_warped_stick"},
{"model": "rocks:block/large_warped_stick", "y": 90},
{"model": "rocks:block/large_warped_stick", "y": 180},
{"model": "rocks:block/large_warped_stick", "y": 270}
]
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -18,6 +18,8 @@
"block.rocks.jungle_stick":"Tropenholzstock", "block.rocks.jungle_stick":"Tropenholzstock",
"block.rocks.acacia_stick":"Akazienholzstock", "block.rocks.acacia_stick":"Akazienholzstock",
"block.rocks.dark_oak_stick":"Schwarzeichenholzstock", "block.rocks.dark_oak_stick":"Schwarzeichenholzstock",
"block.rocks.crimson_stick":"Karmesinstock",
"block.rocks.warped_stick":"Wirrstock",
"block.rocks.geyser":"Geyser", "block.rocks.geyser":"Geyser",
"block.rocks.nether_geyser":"Magma Geyser", "block.rocks.nether_geyser":"Magma Geyser",
@@ -34,5 +36,13 @@
"item.rocks.red_sandstone_splitter":"Roter Sandsteinsplitter", "item.rocks.red_sandstone_splitter":"Roter Sandsteinsplitter",
"item.rocks.end_stone_splitter":"Endsteinsplitter", "item.rocks.end_stone_splitter":"Endsteinsplitter",
"item.rocks.netherrack_splitter":"Netherracksplitter", "item.rocks.netherrack_splitter":"Netherracksplitter",
"item.rocks.soul_soil_splitter":"Seelenerdesplitter" "item.rocks.soul_soil_splitter":"Seelenerdesplitter",
"rocks.midnightconfig.title": "This Rocks! Konfiguration",
"rocks.midnightconfig.needs_restart": "§c Starte das Spiel neu, nachdem du Änderungen vorgenommen hast!",
"rocks.midnightconfig.rocks": "§aBrocken",
"rocks.midnightconfig.sticks": "§aStöcke",
"rocks.midnightconfig.misc": "§aWeiteres",
"rocks.midnightconfig.underwater_seashell": "Unterwassermuschel",
"rocks.midnightconfig.underwater_starfish": "Unterwasserseestern"
} }

View File

@@ -18,6 +18,8 @@
"block.rocks.jungle_stick":"Jungle Stick", "block.rocks.jungle_stick":"Jungle Stick",
"block.rocks.acacia_stick":"Acacia Stick", "block.rocks.acacia_stick":"Acacia Stick",
"block.rocks.dark_oak_stick":"Dark Oak Stick", "block.rocks.dark_oak_stick":"Dark Oak Stick",
"block.rocks.crimson_stick":"Crimson Stick",
"block.rocks.warped_stick":"Warped Stick",
"block.rocks.geyser":"Geyser", "block.rocks.geyser":"Geyser",
"block.rocks.nether_geyser":"Magma Geyser", "block.rocks.nether_geyser":"Magma Geyser",
@@ -34,5 +36,13 @@
"item.rocks.red_sandstone_splitter":"Red Sandstone Splitter", "item.rocks.red_sandstone_splitter":"Red Sandstone Splitter",
"item.rocks.end_stone_splitter":"End Stone Splitter", "item.rocks.end_stone_splitter":"End Stone Splitter",
"item.rocks.netherrack_splitter":"Netherrack Splitter", "item.rocks.netherrack_splitter":"Netherrack Splitter",
"item.rocks.soul_soil_splitter":"Soul Soil Splitter" "item.rocks.soul_soil_splitter":"Soul Soil Splitter",
"rocks.midnightconfig.title":"This Rocks! Config",
"rocks.midnightconfig.needs_restart":"§c Restart game after changing config!",
"rocks.midnightconfig.rocks":"§aRocks",
"rocks.midnightconfig.sticks":"§aSticks",
"rocks.midnightconfig.misc":"§aMiscellaneous",
"rocks.midnightconfig.underwater_seashell":"Underwater Seashell",
"rocks.midnightconfig.underwater_starfish":"Underwater Starfish"
} }

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/large_oak_stick",
"textures": {
"0": "block/crimson_stem",
"particle": "block/crimson_stem"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/large_oak_stick",
"textures": {
"0": "block/warped_stem",
"particle": "block/warped_stem"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/medium_oak_stick",
"textures": {
"0": "block/crimson_stem",
"particle": "block/crimson_stem"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/medium_oak_stick",
"textures": {
"0": "block/warped_stem",
"particle": "block/warped_stem"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/small_oak_stick",
"textures": {
"0": "block/crimson_stem",
"particle": "block/crimson_stem"
}
}

View File

@@ -0,0 +1,7 @@
{
"parent": "rocks:block/small_oak_stick",
"textures": {
"0": "block/warped_stem",
"particle": "block/warped_stem"
}
}

View File

@@ -0,0 +1,3 @@
{
"parent": "rocks:block/large_crimson_stick"
}

View File

@@ -0,0 +1,3 @@
{
"parent": "rocks:block/large_warped_stick"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 B

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 379 B

After

Width:  |  Height:  |  Size: 244 B

View File

@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:stick"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:stick"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View File

@@ -2,9 +2,6 @@
"required": true, "required": true,
"package": "eu.midnightdust.motschen.rocks.mixin", "package": "eu.midnightdust.motschen.rocks.mixin",
"compatibilityLevel": "JAVA_8", "compatibilityLevel": "JAVA_8",
"mixins": [
"GenerationSettingsAccessorMixin"
],
"client": [ "client": [
"MixinModelElementDeserializer" "MixinModelElementDeserializer"
], ],