From 80fc6bb4738879a2ac6ad450e7a2d55647ea1ead Mon Sep 17 00:00:00 2001 From: gengyoubo Date: Mon, 28 Oct 2024 17:40:42 +0900 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E5=BC=95=E8=B5=B7bug=E7=9A=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=BB=99=E6=B3=A8=E9=87=8A=E6=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/generated/resources/.cache/cache | 0 .../tinkersinnovation/register/TinkersInnovationWorldGen.java | 4 ++-- .../com/gjhi/tinkersinnovation/register/package-info.java | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 src/generated/resources/.cache/cache delete mode 100644 src/main/java/com/gjhi/tinkersinnovation/register/package-info.java diff --git a/src/generated/resources/.cache/cache b/src/generated/resources/.cache/cache deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/java/com/gjhi/tinkersinnovation/register/TinkersInnovationWorldGen.java b/src/main/java/com/gjhi/tinkersinnovation/register/TinkersInnovationWorldGen.java index 4220fc7..0ff61b8 100644 --- a/src/main/java/com/gjhi/tinkersinnovation/register/TinkersInnovationWorldGen.java +++ b/src/main/java/com/gjhi/tinkersinnovation/register/TinkersInnovationWorldGen.java @@ -38,8 +38,8 @@ public class TinkersInnovationWorldGen { public static final ConfiguredFeatureDeferredRegister CONFIGURED_FEATURES = new ConfiguredFeatureDeferredRegister(MOD_ID); public static final PlacedFeatureDeferredRegister PLACED_FEATURES = new PlacedFeatureDeferredRegister(MOD_ID); - public static RegistryObject>> VOID_CRYSTAL_ORE = CONFIGURED_FEATURES.registerSupplier("void_crystal_ore", () -> Feature.ORE, () -> new OreConfiguration(voiReplace.get(), TinkersInnovationConfig.COMMON.voidcrystalOre.getSize())); - public static RegistryObject placedVoidcrystalOre = PLACED_FEATURES.register("void_crystal_ore", VOID_CRYSTAL_ORE, CountPlacement.of(TinkersInnovationConfig.COMMON.voidcrystalOre.getCount()), InSquarePlacement.spread(), BiomeFilter.biome(), HeightRangePlacement.uniform(VerticalAnchor.absolute(TinkersInnovationConfig.COMMON.voidcrystalOre.getMinY()), VerticalAnchor.absolute(TinkersInnovationConfig.COMMON.voidcrystalOre.getMaxY()))); + //public static RegistryObject>> VOID_CRYSTAL_ORE = CONFIGURED_FEATURES.registerSupplier("void_crystal_ore", () -> Feature.ORE, () -> new OreConfiguration(voiReplace.get(), TinkersInnovationConfig.COMMON.voidcrystalOre.getSize())); + //public static RegistryObject placedVoidcrystalOre = PLACED_FEATURES.register("void_crystal_ore", VOID_CRYSTAL_ORE, CountPlacement.of(TinkersInnovationConfig.COMMON.voidcrystalOre.getCount()), InSquarePlacement.spread(), BiomeFilter.biome(), HeightRangePlacement.uniform(VerticalAnchor.absolute(TinkersInnovationConfig.COMMON.voidcrystalOre.getMinY()), VerticalAnchor.absolute(TinkersInnovationConfig.COMMON.voidcrystalOre.getMaxY()))); } \ No newline at end of file diff --git a/src/main/java/com/gjhi/tinkersinnovation/register/package-info.java b/src/main/java/com/gjhi/tinkersinnovation/register/package-info.java deleted file mode 100644 index 5c02651..0000000 --- a/src/main/java/com/gjhi/tinkersinnovation/register/package-info.java +++ /dev/null @@ -1,4 +0,0 @@ -/** - * These classes include something that must be registered. - */ -package com.gjhi.tinkersinnovation.register; \ No newline at end of file