diff --git a/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDatagenInitializer.java b/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDatagenInitializer.java index 5812d7dc76..a19952a7d8 100644 --- a/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDatagenInitializer.java +++ b/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDatagenInitializer.java @@ -13,11 +13,11 @@ import net.minecraft.core.RegistrySetBuilder; import net.minecraft.core.registries.Registries; import net.minecraft.data.PackOutput; - import net.minecraft.data.worldgen.BootstapContext; import net.minecraft.world.damagesource.DamageEffects; import net.minecraft.world.damagesource.DamageScaling; import net.minecraft.world.damagesource.DamageType; + import vazkii.botania.data.*; import vazkii.botania.data.recipes.*; diff --git a/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDynamicProvider.java b/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDynamicProvider.java index ec259d6a27..7b1d26a03d 100644 --- a/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDynamicProvider.java +++ b/Fabric/src/main/java/vazkii/botania/fabric/data/FabricDynamicProvider.java @@ -13,19 +13,19 @@ public class FabricDynamicProvider extends FabricDynamicRegistryProvider { - public FabricDynamicProvider(FabricDataOutput output, CompletableFuture registriesFuture) { - super(output, registriesFuture); - } + public FabricDynamicProvider(FabricDataOutput output, CompletableFuture registriesFuture) { + super(output, registriesFuture); + } - @Override - protected void configure(HolderLookup.Provider registries, Entries entries) { - entries.add(RELIC_DAMAGE, new DamageType("botania-relic", DamageScaling.NEVER, 1F, DamageEffects.FREEZING)); - entries.add(PLAYER_ATTACK_ARMOR_PIERCING, new DamageType("player", DamageScaling.WHEN_CAUSED_BY_LIVING_NON_PLAYER, 0.1F)); - entries.add(KEY_EXPLOSION, new DamageType("botania.key_explosion", DamageScaling.ALWAYS, 0.1F)); - } + @Override + protected void configure(HolderLookup.Provider registries, Entries entries) { + entries.add(RELIC_DAMAGE, new DamageType("botania-relic", DamageScaling.NEVER, 1F, DamageEffects.FREEZING)); + entries.add(PLAYER_ATTACK_ARMOR_PIERCING, new DamageType("player", DamageScaling.WHEN_CAUSED_BY_LIVING_NON_PLAYER, 0.1F)); + entries.add(KEY_EXPLOSION, new DamageType("botania.key_explosion", DamageScaling.ALWAYS, 0.1F)); + } - @Override - public String getName() { - return "damageTypes"; - } + @Override + public String getName() { + return "damageTypes"; + } }