Modding is Hacking...

preview_player
Показать описание
In this episode of Minecraft Hacked we are going to look into client mods and talk about cheating in general.

Episode 03:
00:00 - Let's Play: Enderpearl Glitch
02:10 - Let's Play: Caving
04:07 - What is Cheating?
14:00 - How to Code Client Mods
15:30 - Hacks: Java Bytecode Modification
21:15 - Let's Play: Return to Surface

Music:
C418 - Sweden

-=[ ❤️ Support ]=-

-=[ 🐕 Social ]=-

Рекомендации по теме
Комментарии
Автор

"I guess there is a firewall deployed" WHY IS THIS SO FUNNY

terroflys
Автор

A bit of history:

The Forge Team (mainly the creator, LexManos) historically hated what they call Core Mods, which are mods that manipulate the game code instead of using the existing frameworks. It's for a good reason, since if nobody manipulated the game code, then mods would be *much* more compatible. Crashes caused by such manipulations are also much harder to track.

Originally, ASM was used raw by mods to manipulate classes.

Then, Lex came with the *brilliant* idea to force people to use JavaScript instead. So you have the same code that would be using ASM in Java but with JavaScript.

Then Mixins came, which abstract away ASM. They are actually pretty old-ish (older than fabric), and required quite an annoying setup on forge. On some versions (Mostly the 1.13 rewrite era, so 1.13-1.15 iirc) you also needed an extra mod so it works in an non-dev environment. I remember since I had to fix a misaligned bracket in a forge patch in order for my mod to work. It was patched half a year after I reported it.

Mixins are better than raw ASM, since they provide much more debug information on crashes and have much greater compatibility.

Then Fabric came, which uses mixins as an integral part, since Fabric by itself is just a loader, and anything advanced requires patches to the game. Whereas forge does it in a standardized way with a framework of a lot of features which increases compatibility, Fabric just kinda says "I loaded your mod, now do what you can for it to not crash". There is also the Fabric API, which includes basic Mixins to help with basic stuff so that basic mods do not conflict with each other, as well as many other library mods which include stuff that forge includes by default.

Currently, in 1.16.5, Mixins are adopted by forge and much easier to install and use.

peacefulexistence_
Автор

This will definitely help a lot of people who want to start modding with mixins. great video

.
Автор

My first deep dive into computers and programming was through Minecraft modding back in the 1.2.5 era. I was in 7th grade at the time, but I heard that this game was moddable. Looking into modding tutorials got me learning about programming, and that led me to pursue computer science at university, and actually be good at it. Never underestimate how curiosity leads to learning.

xlash
Автор

It is somehow so calming to see these Life Overflow lets plays after work. Learning a lot while watching a let's play, such a cool idea and it just works great!

kugelfisch
Автор

I've honestly been writing Minecraft mods for a couple years now, and I've recently been developing more and more of an interest in cybersecurity and hacking in general, so seeing those two collide in the way you're presenting it is honestly incredible. I hope you have plenty more in store, because I've honestly loved this series so far, and I can't wait to see more!

hammy
Автор

theyre called mixins because youre mixing in your own code to already existing methods, basically youre adding code to the end or beginning of a method etc. depending on the @At value

Автор

"I guess that there was a firewall deployed" Totally got me

himanishmandal
Автор

Something you might find interesting is modifying the "gamma" setting in options.txt. you can basically enable fullbright from a text file!

aaron_the_penguin
Автор

Seeing you try to figure out how code works from annotations, I wanted to scream "SCROLL UP!" Javadoc comments are generally speaking some of the most useful documentation in all of software, due to the fact that they can be generated into documentation directly. 90% of the time, you'll get a clear explanation of what any given class, interface, annotation, etc is doing just by reading the comments, and the format includes features like linking to other classes and methods.

Also IntelliJ: Ctrl-B jumps into the highlighted symbol, Find Usages is an amazing feature to see real examples of how something works, and Shift-F6 is global rename. All amazing tools for Java reverse engineering.

ndm
Автор

editor: so how much clips of two classes overlaying do you want?
liveoverflow: yes

notmilenakos
Автор

The Java Agent mechanism actually provides a way for classes to be "retransformed" at runtime, so while it may not be the case for Mixins, it's certainly possible to "rewrite code in memory". See

yamakaja
Автор

Omg I loved the cobble crafting table at 5:00. Amazing jokes and references throughout the whole video and also very informative and interesting content! Looking forward to the next one :)

TheWestDESIGN
Автор

In jetbrains IDEs there two options, go to definition and go to implementation. Ctrl click on class goes to definition. Right click and go to implementation is going to show you actual code and if it’s not available straight away it’s going to try to decompile it

xdjiijii
Автор

I believe very strongly that the success of the MC modding scene is because the game was written in Java

MacroEnabled
Автор

I made my first mod a couple months ago :) Fabric is great. I normally do web dev so Java being statically typed taught me some different ways to think about code. and learning how Minecraft works was really fun!

I'm using a mixin to inject when a lightning bolt entity spawns

tassaron
Автор

"I guess there was a firewall deployed"
got me fucking laughing

AAA-AAA
Автор

Well, I didn't know Herobrine was such a nice guy :D
Got a little jump scared at 2:43

david_lost
Автор

If you happen to want to discuss things with someone in the hacking scene specifically, feel free to send me a message. I've been developing hacks for Minecraft for most of its life, including releasing a client for public use. I'm happy to remain unnamed if you talk about what we discuss in videos.

Gildfesh
Автор

Super fun and informative. I also get to watch you play minecraft with a nifty narrative. Love this series.

markl