Skip to content

Commit

Permalink
Remove extract_soul damage type
Browse files Browse the repository at this point in the history
  • Loading branch information
stal111 committed Oct 23, 2024
1 parent 6058f5a commit 88d5d86
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 77 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// 1.21.1 2024-09-27T23:00:18.0773385 Registries
f1e418416a78d87e82c17856eccf814072cc38f5 data/forbidden_arcanus/damage_type/extract_soul.json
// 1.21.1 2024-10-23T12:07:12.8253636 Registries
94ac5c9945617db040611ba809c52fa6bd6581cf data/forbidden_arcanus/enchantment/soul_looting.json
c58d326e3ebc53e4813a5753575c033eeb5cc909 data/forbidden_arcanus/forbidden_arcanus/enhancer/definition/artisan_relic.json
4852b696f02e7470be56e62e97c6106737bd808b data/forbidden_arcanus/forbidden_arcanus/enhancer/definition/crescent_moon.json
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.stal111.forbidden_arcanus.core.init.ModItems;
import com.stal111.forbidden_arcanus.core.init.ModMemoryModules;
import com.stal111.forbidden_arcanus.core.init.other.ModActivities;
import com.stal111.forbidden_arcanus.data.ModDamageTypes;
import com.stal111.forbidden_arcanus.util.ModTags;
import net.minecraft.core.BlockPos;
import net.minecraft.core.particles.DustParticleOptions;
Expand Down Expand Up @@ -319,8 +318,6 @@ public void setExtracting() {
public void extractTick(Player player) {
this.extractCounter = EXTRACT_STUNNED_TIME;

this.hurt(this.level().damageSources().source(ModDamageTypes.EXTRACT_SOUL), EXTRACT_DAMAGE);

if (this.isDeadOrDying()) {
this.level().addFreshEntity(new ItemEntity(this.level(), this.getX(), this.getY(), this.getZ(), this.getSoulItem()));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.stal111.forbidden_arcanus.core.init.*;
import com.stal111.forbidden_arcanus.core.init.other.*;
import com.stal111.forbidden_arcanus.core.init.world.*;
import com.stal111.forbidden_arcanus.data.ModDamageTypes;
import com.stal111.forbidden_arcanus.data.ModEnchantments;
import com.stal111.forbidden_arcanus.data.ModItemModifiers;
import com.stal111.forbidden_arcanus.data.enhancer.ModEnhancerDefinitions;
Expand Down Expand Up @@ -80,7 +79,6 @@ protected void collectHelpers() {
this.addDatapackHelper(NeoForgeRegistries.Keys.BIOME_MODIFIERS, ModBiomeModifiers::new);
this.addDatapackHelper(FARegistries.RITUAL, ModRituals::new);
this.addDatapackHelper(FARegistries.ENHANCER_DEFINITION, ModEnhancerDefinitions::new);
this.addDatapackHelper(Registries.DAMAGE_TYPE, ModDamageTypes::new);
this.addDatapackHelper(Registries.ENCHANTMENT, ModEnchantments::new);
this.addDatapackHelper(FARegistries.KNOWLEDGE, ModKnowledge::new);
this.addDatapackHelper(FARegistries.CONSTELLATION, ModConstellations::new);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public static void gatherData(GatherDataEvent event) {
generator.addProvider(event.includeServer(), new ModEnchantmentTagsProvider(context, fileHelper));
generator.addProvider(event.includeServer(), new ModEntityTypeTagsProvider(context, fileHelper));
generator.addProvider(event.includeServer(), new ModBiomeTagsProvider(context, fileHelper));
generator.addProvider(event.includeServer(), new ModDamageTypeTagsProvider(context, fileHelper));

generator.addProvider(event.includeServer(), new LootTableProvider(output, Set.of(), List.of(
new LootTableProvider.SubProviderEntry(ModBlockLootTables::new, LootContextParamSets.BLOCK),
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 88d5d86

Please sign in to comment.