Skip to content

Arcane World compat with RotN edition #311

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ final def mod_dependencies = [
'arcane-archives-311357:3057332' : [project.debug_arcane_archives],
'guidebook-253874:2989594' : [project.debug_arcane_archives],
'mystical_lib-277064:3483816' : [project.debug_arcane_archives, project.debug_roots],
'lemonlib-306926:2639879' : [project.debug_arcane_world],
'lemonlib-306926:2639879' : [project.debug_arcane_world, project.debug_arcane_world_rotn],
'arcane-world-302852:2972860' : [project.debug_arcane_world],
'arcane-world-rotn-edition-475553:3523150' : [project.debug_arcane_world_rotn],
'astralsorcery-sorcery-241721:3044416' : [project.debug_astral],
'baubles-227083:2518667' : [project.debug_blood_arsenal, project.debug_astral, project.debug_botania, project.debug_botania_tweaks, project.debug_botanic_additions, project.debug_essentialcraft_4, project.debug_extra_botany, project.debug_thaum],
'the-aurorian-352137:4981736' : [project.debug_aurorian],
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ debug_alchemistry = false
debug_applied_energistics_2 = false
debug_arcane_archives = false
debug_arcane_world = false
debug_arcane_world_rotn = false
debug_astral = false
debug_atum = false
debug_aurorian = false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.registry.EntityEntry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import party.lemons.arcaneworld.crafting.ritual.Ritual;
import party.lemons.arcaneworld.crafting.ritual.RitualRegistry;
import party.lemons.arcaneworld.crafting.ritual.impl.*;

import java.util.ArrayList;
Expand All @@ -31,7 +31,7 @@
public class RitualWrapper extends ForgeRegistryWrapper<Ritual> {

public RitualWrapper() {
super(RitualRegistry.REGISTRY, Alias.generateOf("Ritual"));
super(GameRegistry.findRegistry(Ritual.class), Alias.generateOf("Ritual"));
}

// TODO
Expand Down