mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 06:42:55 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18712943ed | ||
|
|
79f601ce0b | ||
|
|
cace0fcb06 |
No files matched your search
+3
-3
@@ -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-346-GTNH: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:NotEnoughItems:2.5.25-GTNH:dev")
|
||||
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.17-GTNH:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:EnderIO:2.7.1:dev") { transitive = false }
|
||||
}
|
||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
|
||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.19'
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user