Compare commits

..
13 Commits
Author SHA1 Message Date
Dream Master b7eb8e136b update 2024-07-28 21:28:29 +07:00
Dream Master a5c6a18eb2 Merge remote-tracking branch 'pashabou/master' into dev
# Conflicts:
#	dependencies.gradle
2024-07-28 21:26:48 +07:00
Dream Master 0da752b2c7 Merge remote-tracking branch 'Demiu/master' into dev 2024-07-28 21:26:29 +07:00
pashabou 76aa7af49b Properly Setup GUI
Don't override away setting the item to craft
2024-07-26 23:40:11 -07:00
Martin Robertz a63db463a7 Merge branch 'master' into master 2024-07-27 09:16:05 +07:00
Demiu e605503e74 Adjust to AE2 api changes 2024-07-26 21:11:43 +02:00
Dream Master 2518047b83 update 2024-07-25 17:13:32 +07:00
Dream Master 7c5497d391 Merge remote-tracking branch 'pashabou/master' into dev
# Conflicts:
#	dependencies.gradle
2024-07-25 17:12:59 +07:00
Dream Master d26e3cf04b update 2024-07-25 17:11:34 +07:00
pashabou 12b3381ae5 setItemToCraft (crash fix)
Fixes GTNewHorizons/GT-New-Horizons-Modpack#16769 for change GTNewHorizons/Applied-Energistics-2-Unofficial#523
2024-07-23 01:15:14 -07:00
Martin Robertz 18712943ed update 2024-03-24 13:38:23 +01:00
Martin Robertz 79f601ce0b Merge pull request #33 from nikita23830/master
Update ItemMagnet.java
2024-03-24 13:35:00 +01:00
nikita23830 cace0fcb06 Update ItemMagnet.java
Ordnungsgemäße Trennung in Server und Client. Sonst geht die Logik verloren, wenn "!world.isRemote" ein Paket an den Server sendet...
Es bringt den Server zum Absturz.
2024-03-16 19:02:34 +01:00
11 changed files with 36 additions and 18 deletions

No files matched your search

+4 -4
View File
@@ -1,10 +1,10 @@
// Add your dependencies here
dependencies {
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-328-GTNH:dev")
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-420-GTNH-pre:dev")
implementation("com.github.GTNewHorizons:Baubles:1.0.4:dev")
compileOnly("curse.maven:cofh-core-69162:2388751")
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.5.21-GTNH:dev")
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.16-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:EnderIO:2.7.1:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.6.19-GTNH:dev")
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.17-GTNH:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:EnderIO:2.8.17:dev") { transitive = false }
}
+12 -1
View File
@@ -85,6 +85,11 @@ accessTransformersFile =
# Provides setup for Mixins if enabled. If you don't know what mixins are: Keep it disabled!
usesMixins = false
# Set to a non-empty string to configure mixins in a separate source set under src/VALUE, instead of src/main.
# This can speed up compile times thanks to not running the mixin annotation processor on all input sources.
# Mixin classes will have access to "main" classes, but not the other way around.
separateMixinSourceSet =
# Adds some debug arguments like verbose output and class export.
usesMixinDebug = false
@@ -117,9 +122,15 @@ minimizeShadowedDependencies = true
# If disabled, won't rename the shadowed classes.
relocateShadowedDependencies = true
# Adds the GTNH maven, CurseMaven, IC2/Player maven, and some more well-known 1.7.10 repositories.
# Adds CurseMaven, Modrinth, and some more well-known 1.7.10 repositories.
includeWellKnownRepositories = true
# A list of repositories to exclude from the includeWellKnownRepositories setting. Should be a space separated
# list of strings, with the acceptable keys being(case does not matter):
# cursemaven
# modrinth
excludeWellKnownRepositories =
# Change these to your Maven coordinates if you want to publish to a custom Maven repository instead of the default GTNH Maven.
# Authenticate with the MAVEN_USER and MAVEN_PASSWORD environment variables.
# If you need a more complex setup disable maven publishing here and add a publishing repository to addon.gradle.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Vendored
+5 -2
View File
@@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#
##############################################################################
#
@@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Vendored
+2
View File
@@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem
@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
+1 -1
View File
@@ -17,7 +17,7 @@ pluginManagement {
}
plugins {
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.25'
}
@@ -19,5 +19,6 @@ public class ContainerCraftAmount extends appeng.container.implementations.Conta
int y = (int) player.posY;
int z = (int) player.posZ;
WCTGuiHandler.launchGui(Reference.GUI_CRAFT_CONFIRM, player, player.worldObj, x, y, z);
setupConfirmationGUI(player);
}
}
@@ -71,6 +71,7 @@ public class PacketCraftRequest extends WCTPacket {
if (player.openContainer instanceof ContainerCraftConfirm) {
final ContainerCraftConfirm ccc = (ContainerCraftConfirm) player.openContainer;
ccc.setItemToCraft(cca.getItemToCraft());
ccc.setAutoStart(this.heldShift);
ccc.setJob(futureJob);
cca.detectAndSendChanges();
@@ -130,9 +130,9 @@ public class WirelessTerminalGuiObject
@SuppressWarnings({ "rawtypes", "unchecked" })
@Override
public IItemList<IAEItemStack> getAvailableItems(final IItemList out) {
public IItemList<IAEItemStack> getAvailableItems(final IItemList out, int iteration) {
if (this.itemStorage != null) {
return this.itemStorage.getAvailableItems(out);
return this.itemStorage.getAvailableItems(out, iteration);
}
return out;
}
@@ -192,13 +192,13 @@ public class ItemMagnet extends Item {
@Override
public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer player) {
if (!world.isRemote) {
if (player.isSneaking()) {
switchMagnetMode(item, player);
} else {
if (!RandomUtils.isMagnetInitialized(item)) {
NetworkHandler.instance.sendToServer(new PacketMagnetFilter(0, true));
}
if (player.isSneaking() && !world.isRemote) {
switchMagnetMode(item, player);
} else {
if (!RandomUtils.isMagnetInitialized(item) && world.isRemote) {
NetworkHandler.instance.sendToServer(new PacketMagnetFilter(0, true));
}
if (!world.isRemote) {
int x = (int) player.posX;
int y = (int) player.posY;
int z = (int) player.posZ;