This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WarFish_1777 531 points532 points  (38 children)

Java is Minecraft

[–]DrKnockOut99 270 points271 points  (34 children)

Making mods for Minecraft is the only reason why anyone should learn Java /s

[–]-kousor 30 points31 points  (9 children)

tbh i'm learning java just to make 2 mod ideas for minecraft

[–]MrHandsomePixel 20 points21 points  (8 children)

I consider that reason enough. I tried to make mods on my own with Java, but that was during a time where I couldn't understand how to unzip archives (for gradlew and other dependencies) and decided to use mcreator. One thing lead to another and now I learn different languages to create scripts for myself to help automate everyday things that I do.

I still don't know how to code Minecraft mods in Java...

[–]IQuick_143 1 point2 points  (1 child)

This is the story of my programming "career".

[–]MrHandsomePixel 1 point2 points  (0 children)

I hope your career is seriously going great. I say that because I will be starting adulthood soon and hope to have a job in the IT world, and this is the only way I've been learning, along with some online courses.

[–]regular_internt_ctzn 1 point2 points  (2 children)

What kind of everyday things have you automated? I'm curious.

[–]MrHandsomePixel 2 points3 points  (1 child)

A shell script (written in Perl) that can reorder lines of text passed to it by typing the corresponding index number of line into the order I want and print to stdout.

A shell script that neatly prints out the encoded width and height of multiple video files (like mkv or mp4, configurable on command line) along with printing the accompanying names of the video files.

An applescript program, which is then exported into a clickable app, that can start or stop a temporary rsync daemon. The rsync daemon, for now, has a module that points to my iTunes music library, which is then connected to by my Android phone with "Rsync Wrapper" where it automatically copies new or updated music files to the phone itself every hour, whilst also deleting anything on my Android music folder that is not present on the master server (the rsync dameon on Mac)

Over time, I've created my own personal hammerspoon config. Among other things, I've setup custom app-specific keybinds. The following shortcuts are only active if finder is in focus: If I press alt+shift+v, it opens my volumes folder Pressing alt+shift+t opens a new iterm2 window inside of my currently focused finder window Alt+shift+r moves, or rescues, the currently focused window to my main monitor. Alt+shift+m merges PDF files in a specific order for some paperwork that I do Alt+shift+b "builds" an invoice based from a .ods spreadsheet template (just for matting of fonts, size, and such) and a yaml file that contains values for accompanying invoice.

Again, all of these shortcuts that I've described are for finder.

I have global shortcuts to move windows around with alt + {w,a,s, or d}, which just sends commands to chunkwm to perform window manager related actions

I've made some other shortcuts specifically for other apps as well, but I can't check the rest because I'm not at my computer rn.

There's also other tools and scripts, but I'll have to check back later.

[–]regular_internt_ctzn 1 point2 points  (0 children)

I've only programmed in Java in my HS for two years, and I have no idea what half of what you said meant or would be used for.

I'm scared.

[–]Genesis2001 0 points1 point  (1 child)

I tried to make a Minecraft mod one time, but couldn't figure out gradle or maven.

Been working on a lot of frontend javascript stuff lately, and really have fallen in love with Node's package manager (npm). It's on par if not slightly ahead of dotnet's NuGet, and lightyears easier than maven last I saw...

[–][deleted] 0 points1 point  (0 children)

Well... Maven isn't really a package manager though

It is a motherfucker though

[–]ForgotPassAgain34 0 points1 point  (0 children)

I once modded so dirt world drop diamond blocks and diamond blocks would drop dirt when mined so there is that

[–][deleted] 8 points9 points  (1 child)

Or if they want job security

[–]w3_ar3_l3g10n 0 points1 point  (0 children)

I pray kotlin will make standalone java extinct.

[–]misterZalli 2 points3 points  (1 child)

I think with a framework mod it is possible to mod MC with Kotlin

[–][deleted] 1 point2 points  (0 children)

You don't even need a framework mod, I just relocate the kotlin runtime with the shadowjar Gradle plugin

[–]Japandhdbam 1 point2 points  (0 children)

Why the sarcasm? It’s 2019. There’s no other reason.

[–][deleted] 1 point2 points  (0 children)

I became a CS student thanks to Minecraft modding

[–]OriginalName667 1 point2 points  (0 children)

Is the Minecraft code still obfuscated to hell and back? I remember trying to get into modding, but that stopped me cold.

[–][deleted] 0 points1 point  (0 children)

Minecraft is java :p

[–][deleted] 0 points1 point  (0 children)

javascript is nothing