Jump to content

[Updating] 1.7 IConnectionHandler equivalent


Yagoki

Recommended Posts

So just got  round to updating my mod to 1.7 and was met by a wave of 300+ errors (fairly typical), however some of them (including this one) I can't figure out. I'm sure some will become more obvious as I get more used to the 1.7 environment but I can't see an obvious replacement for this, also not aided by the fact that there no longer appears to be an equivalent method for what was

	NetworkRegistry.instance().registerConnectionHandler(new MTechNetworkHandler());

 

The class which I can't figure out how to replace

 

Anybody got any ideas? the rest of my working 1.6 code is all in this repository

 

Thanks in advance

 

~Yagoki

 

P.S. am I the only one finding it frustrating that we can't poke around in the src with the gradlew updates like we could with mcp?

Link to comment
Share on other sites

For the IConnectionHandler, i never used one. But for the source, Go to Referenced Libraries/forgeSrc-[YOUR_FORGE_VERSION] and in there are all the packages.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Hmmm... don't see anything saying "referenced libraries" nor can I find any file labelled forgeSrc in my eclipse environment.

Getting really tempted to stick with 1.6 but I know I should probably update before I get left too far behind.

 

[EDIT]

 

OK, found it. Was confused for a bit, mostly because I was expecting to find them all in the folder I created for the dev environment, never thought to check if gradle created a new place to keep the things. If anyone else is looking they will be in a folder similar to the location of the .jar you want the src for. then to apply in eclipse:

 

right click on the project-->properties-->Java Build Path-->Libraries-->click on the library you wish to add src to-->click "source attachment"-->Edit-->External Location (you then need to establish if it's an arhivee.g. .jar/.zip/.rar/... or a file system) click the required on then navigate to the file

Link to comment
Share on other sites

I think your decompile has failed, so the minecraft src is not exist...

You should redo the decompile.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

No, the class files exist, just in the same way that they exist for the LWJGL files. I can use them, but I can't jump to lines of the code. Mostly just that the Source attachment is missing for only the minecraft files, it exists for the forge files. Re-running the setup  was one of the first things I tried as I still don't trust gradle

Link to comment
Share on other sites

Didn't know that was a thing, but just tried that and got an error

 

It says to check that I have the JDK installed (which I know I do. been programming with java for a few years now so lack of JDK is not the issue), i'll go check that that's all up to date then report back.

Link to comment
Share on other sites

OK, updated to Java 8 from Java 7  (JDK 1.8.0_05 was previously JDK 1.7.something) and it seems to have worked, guessing it fixed a path or something :D

Thanks for pointing out the setupDecompWorkspace command, that wasn't obvious and i don't think it was mentioned in the thing Lex did to show how to use the gradle setup

 

Thanks :D

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hello! My friends and I were attempting to add a few extra mods to the Create Chronicles modpack, and all was well until people started crashing when they opened their inventories. Any help finding the culprit would be MUCH appreciated, I've been scratching my head for the past few days on what went wrong. https://paste.ee/p/8pajP
    • >>>KLIK LOGIN DISINI SAYANG<<< >>>KLIK DAFTAR DISINI SAYANG<<< Pendahuluan Dalam dunia perjudian online, slot menjadi salah satu permainan yang paling diminati. Dengan munculnya berbagai platform, Togel2Win hadir sebagai salah satu pilihan menarik, terutama dengan fitur anti rungkad yang dijanjikan. Artikel ini akan membahas tentang Togel2Win, keunggulan slot terbaru, dan bagaimana server Thailand berperan dalam meningkatkan pengalaman bermain. Apa Itu Togel2Win? Togel2Win adalah platform permainan yang menawarkan berbagai jenis permainan, termasuk slot dan togel. Dengan antarmuka yang ramah pengguna dan beragam pilihan permainan, situs ini bertujuan untuk memberikan pengalaman bermain yang menyenangkan dan menguntungkan bagi para pemain. Keunggulan Slot Togel2Win Fitur Anti Rungkad: Salah satu keunggulan utama dari Togel2Win adalah fitur anti rungkad yang dirancang untuk mengurangi kemungkinan gangguan saat bermain. Ini memastikan bahwa pemain dapat menikmati permainan tanpa gangguan teknis, meningkatkan kenyamanan dan fokus. Beragam Pilihan Slot: Togel2Win menawarkan berbagai jenis slot, dari yang klasik hingga yang modern dengan grafis menawan dan tema yang menarik. Ini memberikan variasi yang cukup bagi pemain untuk menemukan permainan yang sesuai dengan preferensi mereka. Server Thailand yang Stabil: Server yang berlokasi di Thailand memberikan koneksi yang cepat dan stabil. Ini sangat penting untuk pengalaman bermain yang lancar, terutama saat bermain slot yang memerlukan respons cepat. Bonus dan Promosi Menarik: Togel2Win sering menawarkan bonus dan promosi yang menarik untuk menarik pemain baru dan mempertahankan loyalitas pemain yang sudah ada. Ini bisa berupa bonus deposit, putaran gratis, atau program loyalitas. Tips untuk Pemain Slot di Togel2Win Pilih Slot dengan RTP Tinggi: Sebelum memulai permainan, pastikan untuk memilih slot dengan tingkat pengembalian pemain (RTP) yang tinggi untuk meningkatkan peluang menang. Kelola Anggaran: Tentukan batasan anggaran sebelum bermain dan patuhi itu. Ini membantu mencegah kerugian besar dan menjaga pengalaman bermain tetap menyenangkan. Manfaatkan Bonus: Jangan ragu untuk memanfaatkan bonus dan promosi yang ditawarkan. Ini bisa memberikan tambahan modal untuk bermain lebih lama. Kesimpulan Togel2Win merupakan pilihan menarik bagi para penggemar slot, terutama dengan fitur anti rungkad dan server yang stabil. Dengan berbagai pilihan permainan dan bonus yang menggiurkan, Togel2Win siap memberikan pengalaman bermain yang tak terlupakan. Jika Anda mencari platform slot yang andal dan menyenangkan, Togel2Win bisa menjadi solusi yang tepat.
    • I'm trying to make my own modpack, but sometimes, in certain areas of the world, the game just says "server closed". Minecraft doesn't close, it just returns to the menu. When I tried to figure it out on my own and understand the logs, I didn't understand anything (English is not my native language, so it's difficult for me). I've been trying to solve the problem for the third month. So I ask if anyone is good at this and it's not difficult for you, to help me with this. If you need details, ask. I'll describe everything. What it looks like Logs
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.