Anonymous
Anonymous4w ago

Minecraft Development

I want to develop and publish mods,add ons and plugins for minecraft Where can I start learning?
34 Replies
Anonymous
AnonymousOP4w ago
If its a free source I would appriciate it
DaButcher
DaButcher4w ago
me too
LA OVEJA NEGRA
For quite some time i was doing some research to make an addon for Minecraft Bedrock And an app I found for computer to get started with that using a little programming and coding is "bridge" But I still don't know how to use it so good... But another app or website that I use to make models of mobs, skins, blocks or more is "blockbench"
Anonymous
AnonymousOP4w ago
Thanks for your help But if im correct bedrock and java run on different languages So it might not work But still worth trying
LA OVEJA NEGRA
Uhh, yes, i think 😅 For java i dont think so Can be But honestly I don't know if Bridge is only for Minecraft Bedrock or if it's also for Java
Anonymous
AnonymousOP4w ago
Ima research a little
LA OVEJA NEGRA
But blockbench can make models and more for both versions Ok Oh, by the way, another website or app that I know but I don't use, is "Minecraft maker","minecraft modmaker" or "minemaker", I don't remember the name I think it can be for both versions And it's supposedly much easier to make mods or addons But personally I don't use it because I thought it wouldn't have as many capabilities as Bridge and I didn't believe that page could be as reliable But you can use it if you want to try
Anonymous
AnonymousOP4w ago
So bridge is used for bedrock only I need to code everything by myself Plus I need to learn java first
LA OVEJA NEGRA
oh, ok, i didnt know that
Anonymous
AnonymousOP4w ago
Nah its ok I didnt neither
LA OVEJA NEGRA
I understand you
Anonymous
AnonymousOP4w ago
If it was phyton or java script im ok with that but java is way too hard
LA OVEJA NEGRA
But "minecraft modmaker" dont need to coding or programming i think
Anonymous
AnonymousOP4w ago
Couldnt find that
LA OVEJA NEGRA
As far as I know it is very complicated, but the truth is I still don't know how to use it or I haven't used it to code anything
Anonymous
AnonymousOP4w ago
Could it be MCCreator? Here is a short example
LA OVEJA NEGRA
Oh, yes, I think so
Anonymous
AnonymousOP4w ago
JavaScript is console.log("Hello World");
LA OVEJA NEGRA
I think that's it I only remember the logo or symbol of the website, but not the name very well
Anonymous
AnonymousOP4w ago
Java is import java.util.*; public class Main { public static void main(String[] args) { System.out.println("Hello, World!"); } } Its white background and green text mcc
LA OVEJA NEGRA
Ohhh I understand Ah, no, I don't think it was like that It was a yellow background with a grass block and a grey gear next to it A three-letter text that I don't remember what they are
Anonymous
AnonymousOP4w ago
Ill research more tomorrow its a lil late now Thanks for your help
LA OVEJA NEGRA
oh, ok You're welcome
DirtyJ
DirtyJ4w ago
Take a look at open source mods/plugins/etc on GitHub and see what those devs are using/doing, then try doing it yourself
smartest guys in the guninvalid
i haven't written mods in like a decade so it's probably out of date, but you can look into the Forge documentation if you're interested in programming for java i really can't help you on Fabric or bedrock though 🤷‍♂️ id say start with the idea, just some simple ideas, then try to google (or chatgpt 🤮) your way through everything
Anonymous
AnonymousOP4w ago
Thanks Thanks
Nitai
Nitai4w ago
I used to make some stuff like 5/6 yrs ago I think it was MCcreate or smth I think it's worth checking it out @Anonymous But its not alot of programming and it's basic If u want to actually code just search some yt tuts up
Anonymous
AnonymousOP4w ago
Will do thanks Couldnt find a good tutorial
LA OVEJA NEGRA
THAT IS IT That was the name of the website i was talking about MCCreate
404lt
404lt3w ago
THIS
Knocker
Knocker3w ago
tbh it seems complicated just because you add the fourth and fift line.. in reality it is just the structure that is different... And I create a lot of mc plugins and it is pretty logical.. If you know how to code in python or js it won't be hard to create plugins.. For as far as I know (I don't know how to code in java exept the stuff you need for plugins), the structure of plugins isn't the same. You basicaly have 3-4 big parts to learn : - OnEnable/OnDisable methods which executes when the server starts/stops (this is where you register your listeners commands and where you say to the plugin where is the code to execute when a command/listener is executed) - OnCommand.. pretty self-explenatory - Listener, you just have to pass the event you want to listen to as an argument of the function And globaly that's it.. All the functions you need to use to create stuff is pretty self explenatory. for exemple if you want to send an info message in the console, you just have to do :
Bukkit.getServer().getLogger().info("Information");
Bukkit.getServer().getLogger().info("Information");
You take bukkit, get the mc server, get his logger and put the info inside.. If you want a bigger exemple, here is the code to remove money to the player's balance on his death :
@EventHandler
public void onPlayerDeath(PlayerDeathEvent event) {
if (!event.getDeathMessage().contains("DEATHMESSAGE")) {
Player player = event.getEntity();

// Get the player's balance
double balance = salaire.getEcon().getBalance(player);

if (balance != 0) {
double amountToDeduct;

// If the player has less than 1000 dollars, he only loses 100$
if (balance < 1000) {
amountToDeduct = 100;
} else {
amountToDeduct = 300;
}

// Remove the money from the player
salaire.getEcon().withdrawPlayer(player, amountToDeduct);

// Send the message to the player
player.sendMessage("§cYou died and so lost §e" + amountToDeduct + "$§c.");
}
}
}
@EventHandler
public void onPlayerDeath(PlayerDeathEvent event) {
if (!event.getDeathMessage().contains("DEATHMESSAGE")) {
Player player = event.getEntity();

// Get the player's balance
double balance = salaire.getEcon().getBalance(player);

if (balance != 0) {
double amountToDeduct;

// If the player has less than 1000 dollars, he only loses 100$
if (balance < 1000) {
amountToDeduct = 100;
} else {
amountToDeduct = 300;
}

// Remove the money from the player
salaire.getEcon().withdrawPlayer(player, amountToDeduct);

// Send the message to the player
player.sendMessage("§cYou died and so lost §e" + amountToDeduct + "$§c.");
}
}
}
Hope it helps and sorry for my bad english, i'm french :)
Anonymous
AnonymousOP3w ago
Thanks a lot
Knocker
Knocker3w ago
No problem ! I forgot the initial question saying all this: This https://bukkit.fandom.com/wiki/Plugin_Tutorial_(Eclipse) is very complete..
Anonymous
AnonymousOP3w ago
Thanks

Did you find this page helpful?