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



×
×
  • Create New...

Important Information

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