diff --git a/dependencies.gradle b/dependencies.gradle index 11ffa3c4..eb1f1ba2 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -34,7 +34,7 @@ dependencies { compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.6.22-GTNH:dev") compileOnly("com.github.GTNewHorizons:Hodgepodge:2.5.42:dev") { transitive = false } - compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.48.150:dev") { transitive = false } + compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.56:dev") { transitive = false } compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") //runtimeOnlyNonPublishable("com.github.GTNewHorizons:NotEnoughItems:2.6.22-GTNH:dev") diff --git a/src/main/java/com/cleanroommc/modularui/utils/fluid/FluidInteractions.java b/src/main/java/com/cleanroommc/modularui/utils/fluid/FluidInteractions.java index 11a8c895..e885b835 100644 --- a/src/main/java/com/cleanroommc/modularui/utils/fluid/FluidInteractions.java +++ b/src/main/java/com/cleanroommc/modularui/utils/fluid/FluidInteractions.java @@ -4,7 +4,7 @@ import static com.cleanroommc.modularui.ModularUI.isNEILoaded; import codechicken.nei.recipe.StackInfo; -import gregtech.api.util.GT_Utility; +import gregtech.api.util.GTUtility; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.FluidContainerRegistry; import net.minecraftforge.fluids.FluidStack; @@ -27,7 +27,7 @@ public static FluidStack getFluidForRealItem(ItemStack itemStack) { fluidStack = StackInfo.getFluid(itemStack); } if (isGT5ULoaded && fluidStack == null) { - fluidStack = GT_Utility.getFluidForFilledItem(itemStack, true); + fluidStack = GTUtility.getFluidForFilledItem(itemStack, true); } return fluidStack; } @@ -47,7 +47,7 @@ public static FluidStack getFluidForPhantomItem(ItemStack itemStack) { fluidStack = StackInfo.getFluid(itemStack.copy()); } if (isGT5ULoaded && fluidStack == null) { - fluidStack = GT_Utility.getFluidForFilledItem(itemStack, true); + fluidStack = GTUtility.getFluidForFilledItem(itemStack, true); } return fluidStack; } @@ -67,7 +67,7 @@ public static ItemStack fillFluidContainer(FluidStack fluidStack, ItemStack item public static ItemStack fillFluidContainerWithoutIFluidContainerItem(FluidStack fluidStack, ItemStack itemStack) { if (isGT5ULoaded) { - return GT_Utility.fillFluidContainer(fluidStack, itemStack, true, false); + return GTUtility.fillFluidContainer(fluidStack, itemStack, true, false); } return null; } @@ -97,7 +97,7 @@ public static ItemStack getContainerForFilledItem(ItemStack itemStack) { public static ItemStack getContainerForFilledItemWithoutIFluidContainerItem(ItemStack itemStack) { if (isGT5ULoaded) { - return GT_Utility.getContainerForFilledItem(itemStack, false); + return GTUtility.getContainerForFilledItem(itemStack, false); } return null; } diff --git a/src/main/java/com/cleanroommc/modularui/widgets/FluidSlot.java b/src/main/java/com/cleanroommc/modularui/widgets/FluidSlot.java index 3da0888c..a00f3c70 100644 --- a/src/main/java/com/cleanroommc/modularui/widgets/FluidSlot.java +++ b/src/main/java/com/cleanroommc/modularui/widgets/FluidSlot.java @@ -22,7 +22,7 @@ import com.cleanroommc.modularui.value.sync.SyncHandler; import com.cleanroommc.modularui.value.sync.ValueSyncHandler; import com.cleanroommc.modularui.widget.Widget; -import gregtech.api.util.GT_Utility; +import gregtech.api.util.GTUtility; import net.minecraft.client.Minecraft; import net.minecraft.item.ItemStack; import net.minecraftforge.fluids.FluidContainerRegistry; @@ -274,7 +274,7 @@ protected void setPhantomValue(@NotNull ItemStack draggedStack) { @Override public @Nullable ItemStack getStackForNEI() { if (isGT5ULoaded) { - return GT_Utility.getFluidDisplayStack(getFluidStack(), false); + return GTUtility.getFluidDisplayStack(getFluidStack(), false); } return null; } diff --git a/src/main/java/com/cleanroommc/modularui/widgets/FluidSlotLong.java b/src/main/java/com/cleanroommc/modularui/widgets/FluidSlotLong.java index a118b1c1..ee7167d0 100644 --- a/src/main/java/com/cleanroommc/modularui/widgets/FluidSlotLong.java +++ b/src/main/java/com/cleanroommc/modularui/widgets/FluidSlotLong.java @@ -12,7 +12,7 @@ import com.cleanroommc.modularui.widget.Widget; -import gregtech.api.util.GT_Utility; +import gregtech.api.util.GTUtility; import net.minecraft.client.Minecraft; import net.minecraft.item.ItemStack; @@ -291,7 +291,7 @@ protected void setPhantomValue(@NotNull ItemStack draggedStack) { @Override public @Nullable ItemStack getStackForNEI() { if (isGT5ULoaded) { - return GT_Utility.getFluidDisplayStack(getFluidStack(), false); + return GTUtility.getFluidDisplayStack(getFluidStack(), false); } return null; }