Skip to content
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

Update baubles dep to the baubles extended mod #53

Merged
merged 2 commits into from
Oct 1, 2024
Merged
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
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies {
compileOnly("com.github.GTNewHorizons:inventory-tweaks:1.7.0:dev") {
transitive = false
}
compileOnly('com.github.GTNewHorizons:Baubles:1.0.4:dev') {
implementation('com.github.GTNewHorizons:Baubles-Expanded:2.0.3:dev') {
Dream-Master marked this conversation as resolved.
Show resolved Hide resolved
transitive = false
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.brandon3055.draconicevolution.common.lib;

import cpw.mods.fml.common.Loader;

public final class References {

public static final String MODID = "DraconicEvolution";
Expand All @@ -12,7 +10,6 @@ public final class References {
public static final String SERVERPROXYLOCATION = "com.brandon3055.draconicevolution.common.CommonProxy";
public static final String GUIFACTORY = "com.brandon3055.draconicevolution.client.gui.DEGUIFactory";
public static final String RESOURCESPREFIX = MODID.toLowerCase() + ":";
public static final boolean BAUBLES_MOD_IS_LOADED = Loader.isModLoaded("Baubles");

// ======================Render IDs========================//
public static int idTeleporterStand = -1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
package com.brandon3055.draconicevolution.common.utills;

import static com.brandon3055.draconicevolution.common.lib.References.BAUBLES_MOD_IS_LOADED;

import java.util.Optional;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import baubles.common.lib.PlayerHandler;
import cpw.mods.fml.common.Loader;

public final class InventoryUtils {

private static final boolean BAUBLES_MOD_IS_LOADED = Loader.isModLoaded("Baubles");

private InventoryUtils() {}

public static Optional<ItemStack> getItemInAnyPlayerInventory(EntityPlayer player,
Expand Down