Jump to content

Recommended Posts

Posted

Hello guys. I'm still a little new to coding, I have good experience and I know how to work with java. I was watching tutorials on how to make a minecraft mod and got a little experience on how it all works, but I feel its leading me nowhere. Like if I was put in a room with a minecraft mod project set up and I had to make an entity that poops out gold ingots and if I don't I would have to snort a full bowl of wasabi without puking, I wouldn't even know how to start and I would have to snort all that wasabi. But all jokes aside, where do I start? How do I do the things I want to do? Please help, i'm done with youtube tutorials, I wanna actually learn how this all works and apply it to my mod . Thanks  ;)

Hello everyone! I'm the developer and owner of a mod called MagZ Aquatic Life Experience. Right now it's being worked on, but when it's released, check it out!

 

--[Also Check Out My Website!]--

Posted

Hi,

first of all, you have tocmake a MainClass where you register your Items, Blocks, Entitys ... .

If you have your basic MainClass configuration (there are many videos for that) you can start to register a new entity. For the entity you have to make a new Class.

 

I hope you know how to make a new entity ;)

 

Mike

Posted

Well I already know how to do that. I'm wondering what would I have to do to learn how to do unique things like make an entity shoot chests or something like that  :P

Hello everyone! I'm the developer and owner of a mod called MagZ Aquatic Life Experience. Right now it's being worked on, but when it's released, check it out!

 

--[Also Check Out My Website!]--

Posted

I have made a topic about my mob that doesnt render.

If you use the things that are in that topic, you can make a basic monster.

But dont ask me how to render...

Posted

You start simple.  Just like in school textbook, do little exercises to cement your understanding.  Here's some suggestions.

 

1) create a custom block that appears in creative tab and you can place.  make it with custom texture.

2) create a custom entity that extends a vanilla entity but changes some general thing -- like make it move faster, or have more health.

3) create a custom entity that has custom model, with some animation when moving.  Also make custom sounds for the entity.

4) handle an event, with simple effect to prove you're doing the right thing.  For example, print "Boing" to chat whenever player jumps.

5) make a custom server command. 

6) make a configuration options GUI.

7) make a block with tile entity (i.e. basically a block with extra logic, like something simple like it will kill all cows that come within certain range).

8) make a new weapon, including recipe to craft it.

 

For each such exercise, just make it really simple.  It is honestly a big achievement to simply get a block registered, or to print "Boing" to the chat for each jump.  These exercises will really get you confident in the basics.  Things like how the sounds.json file works.  Or how the event buses work.  And so on.

 

If you can do all these exercises, then you can suddenly find confidence to put them all together.  Where you go with it depends on your interests. I personally like entities, so do a lot with them.  Other people really like biomes, or armor, or enchantments, and so on.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

Posted

OK, let's start with this: when coding, no matter what language, GOOGLE IS YOUR FRIEND (on anything else, don't trust google..)

 

So suppose you want you entity that poops out gold ingots. Before you start, think about what classes you need. So to poop gold, you need an entity.

To make any entity, see Google, there are MANY tuts on that. However an basic entity is made up of a few classes. Like a render-class, model-class, a main-class etc.

 

Now you got your Entity, it still needs to poop gold. Since we know something in minecraft that already does this, we can use the code from this other entity. (The chicken)

 

The entity shooting chests would be somewhat more complicated, but the basics are the same there. Divide your big problem into smaller, preferably you want every smaller problem to fit in a class. Meaning: "Hey, my entity has no model, so it would be invisible if I were to spawn it!" -> make a ModelEntity class.

 

Since java is an Object Oriented Language, and minecraft follows this very strongly, you need to know more than just java. You might want to read a couple of articles on object oriented languages if you think it will help you out.

 

Good luck

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • When I first heard about Bitcoin back in 2018, I was skeptical. The idea of a decentralized, digital currency seemed too good to be true. But I was intrigued as I learned more about the technology behind it and its potential. I started small, investing just a few hundred dollars, dipping my toes into the cryptocurrency waters. At first, it was exhilarating to watch the value of my investment grow exponentially. I felt like I was part of the future, an early adopter of this revolutionary new asset. But that euphoria was short-lived. One day, I logged into my digital wallet only to find it empty - my Bitcoin had vanished without a trace. It turned out that the online exchange I had trusted had been hacked, and my funds were stolen. I was devastated, both financially and emotionally. All the potential I had seen in Bitcoin was tainted by the harsh reality that with decentralization came a lack of regulation and oversight. My hard-earned money was gone, lost to the ether of the digital world. This experience taught me a painful lesson about the price of trust in the uncharted territory of cryptocurrency. While the technology holds incredible promise, the risks can be catastrophic if you don't approach it with extreme caution. My Bitcoin investment gamble had failed, and I was left to pick up the pieces, wiser but poorer for having placed my faith in the wrong hands. My sincere appreciation goes to MUYERN TRUST HACKER. You are my hero in recovering my lost funds. Send a direct m a i l ( muyerntrusted ( @ ) mail-me ( . )c o m ) or message on whats app : + 1 ( 4-4-0 ) ( 3 -3 -5 ) ( 0-2-0-5 )
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

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