diff --git a/common/src/main/java/com/terraformersmc/traverse/biome/TraverseBiomes.java b/common/src/main/java/com/terraformersmc/traverse/biome/TraverseBiomes.java index 71e3348..d08deee 100644 --- a/common/src/main/java/com/terraformersmc/traverse/biome/TraverseBiomes.java +++ b/common/src/main/java/com/terraformersmc/traverse/biome/TraverseBiomes.java @@ -13,7 +13,6 @@ import java.util.List; -@SuppressWarnings("UnstableApiUsage") public class TraverseBiomes { public static final RegistryKey AUTUMNAL_WOODS = RegistryKey.of(RegistryKeys.BIOME, Identifier.of(Traverse.MOD_ID, "autumnal_woods")); public static final RegistryKey CONIFEROUS_FOREST = RegistryKey.of(RegistryKeys.BIOME, Identifier.of(Traverse.MOD_ID, "coniferous_forest")); diff --git a/common/src/main/java/com/terraformersmc/traverse/data/TraverseDynamicRegistryProvider.java b/common/src/main/java/com/terraformersmc/traverse/data/TraverseDynamicRegistryProvider.java index fefd629..1268663 100644 --- a/common/src/main/java/com/terraformersmc/traverse/data/TraverseDynamicRegistryProvider.java +++ b/common/src/main/java/com/terraformersmc/traverse/data/TraverseDynamicRegistryProvider.java @@ -9,7 +9,6 @@ import java.util.concurrent.CompletableFuture; -@SuppressWarnings("UnstableApiUsage") public class TraverseDynamicRegistryProvider extends FabricDynamicRegistryProvider { protected TraverseDynamicRegistryProvider(FabricDataOutput output, CompletableFuture registriesFuture) { super(output, registriesFuture); diff --git a/common/src/main/java/com/terraformersmc/traverse/feature/TraverseConfiguredFeatures.java b/common/src/main/java/com/terraformersmc/traverse/feature/TraverseConfiguredFeatures.java index 663934c..4a761d2 100644 --- a/common/src/main/java/com/terraformersmc/traverse/feature/TraverseConfiguredFeatures.java +++ b/common/src/main/java/com/terraformersmc/traverse/feature/TraverseConfiguredFeatures.java @@ -15,7 +15,6 @@ import java.util.List; -@SuppressWarnings("UnstableApiUsage") public class TraverseConfiguredFeatures { /* Logs and Shrubs */ static final RegistryKey> FALLEN_OAK_TREE = createRegistryKey("fallen_oak_tree"); diff --git a/common/src/main/java/com/terraformersmc/traverse/feature/TraversePlacedFeatures.java b/common/src/main/java/com/terraformersmc/traverse/feature/TraversePlacedFeatures.java index 9d0fee2..5f7c8f8 100644 --- a/common/src/main/java/com/terraformersmc/traverse/feature/TraversePlacedFeatures.java +++ b/common/src/main/java/com/terraformersmc/traverse/feature/TraversePlacedFeatures.java @@ -16,7 +16,6 @@ import java.util.ArrayList; import java.util.List; -@SuppressWarnings("UnstableApiUsage") public class TraversePlacedFeatures { /* Shrubs */ public static final RegistryKey DESERT_EXTRA_CACTUS = createRegistryKey("desert_extra_cactus"); diff --git a/common/src/main/java/com/terraformersmc/traverse/feature/placer/NoneFoliagePlacer.java b/common/src/main/java/com/terraformersmc/traverse/feature/placer/NoneFoliagePlacer.java index 8bab7f8..a628ef6 100644 --- a/common/src/main/java/com/terraformersmc/traverse/feature/placer/NoneFoliagePlacer.java +++ b/common/src/main/java/com/terraformersmc/traverse/feature/placer/NoneFoliagePlacer.java @@ -10,8 +10,6 @@ import net.minecraft.world.gen.foliage.FoliagePlacer; import net.minecraft.world.gen.foliage.FoliagePlacerType; -import java.util.function.BiConsumer; - public class NoneFoliagePlacer extends FoliagePlacer { public static final Codec CODEC = RecordCodecBuilder.create((instance) -> fillFoliagePlacerFields(instance).apply(instance, (uniformIntDistribution, uniformIntDistribution2) -> new NoneFoliagePlacer())); diff --git a/common/src/main/java/com/terraformersmc/traverse/item/TraverseItems.java b/common/src/main/java/com/terraformersmc/traverse/item/TraverseItems.java index 17f6809..2b66321 100644 --- a/common/src/main/java/com/terraformersmc/traverse/item/TraverseItems.java +++ b/common/src/main/java/com/terraformersmc/traverse/item/TraverseItems.java @@ -89,8 +89,10 @@ private static void addCompostables() { private static void addFuels() { FuelRegistry fuelRegistry = FuelRegistry.INSTANCE; + int FENCE_CHANCE = fuelRegistry.get(Items.OAK_FENCE); + int FENCE_GATE_CHANCE = fuelRegistry.get(Items.OAK_FENCE_GATE); - fuelRegistry.add(FIR_FENCE, 300); - fuelRegistry.add(FIR_FENCE_GATE, 300); + fuelRegistry.add(FIR_FENCE, FENCE_CHANCE); + fuelRegistry.add(FIR_FENCE_GATE, FENCE_GATE_CHANCE); } } diff --git a/common/src/main/java/com/terraformersmc/traverse/villager/TraverseVillagerTypes.java b/common/src/main/java/com/terraformersmc/traverse/villager/TraverseVillagerTypes.java index ea50e7e..b94b009 100644 --- a/common/src/main/java/com/terraformersmc/traverse/villager/TraverseVillagerTypes.java +++ b/common/src/main/java/com/terraformersmc/traverse/villager/TraverseVillagerTypes.java @@ -1,7 +1,6 @@ package com.terraformersmc.traverse.villager; import com.terraformersmc.traverse.biome.TraverseBiomes; -import net.fabricmc.fabric.api.object.builder.v1.villager.VillagerTypeHelper; import net.minecraft.registry.RegistryKey; import net.minecraft.village.VillagerType; import net.minecraft.world.biome.Biome;