Jump to content

Recommended Posts

Posted

Hello!

 

I a beginner modder seeking for help. I want to create a mod for Minecraft 1.12.2. I have the tools, set up, but can't find anything just the basic tutorials (first item/block/weapon/tool/armor/etc.). I want to make a custom simple powered rail. I try to look for any tutorial, but can't find. I try to do from the basics (extend original class etc.) but there is a big difference between creating a block or item and crating a custom rail. Is there any good tutorial what I oversee? If not, anybody made custom rails, or know how to do it? I hope somebody can help.

 

Thanks for any help!

Posted

Well, there aren't tutorials for anything you would want to do. You need to figure it out yourself. First, look at how the Minecraft Rail works by looking into the Source Code. Then decide whether there is an easy way to do what you want to do(e.g Extending and Overriding) or not. Then, try it out. If you are new to modding I would suggest you search for tutorials by the grey ghost or jabelar to understand the basics of Minecraft. Otherwise, have a look at other mods' open source code to learn from them. Choonsters TestMod3 is what I find helpful, as it gives you an overview of how most basic possible uses of Forge work.

Posted
  On 1/11/2018 at 10:08 AM, IgazHarcos said:

I a beginner modder

Expand  

I highly recommend that you complete a simple mod as an exercise before venturing into more creative territory. There are plenty of mistakes you can make in the simplest of mods, so you should make and learn from them so your later work will be less frustrating.

 

Then when you investigate rail, look into both rail blocks and minecart entities. You may discover that the behavior you need to modify is programmed into the cart, not the rail.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Posted
  On 1/11/2018 at 9:33 PM, IgazHarcos said:

Sorry but are you read what I write? I completed thew simple tutorials, AND looked into the source code. :(

Expand  

Then what you should do is show us what you tried, and give good description of what isn't working. For example, you don't say at all what sort of trouble you had. Did you get far enough to place your blocks, did they not work as rails, did the powering part not work, was the model messed up?

 

All we ask is that you put in the work and give something we can actually help with!

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

Posted
  On 1/12/2018 at 8:09 AM, jabelar said:

Then what you should do is show us what you tried, and give good description of what isn't working. For example, you don't say at all what sort of trouble you had. Did you get far enough to place your blocks, did they not work as rails, did the powering part not work, was the model messed up?

 

All we ask is that you put in the work and give something we can actually help with!

Expand  

Like I told you, I dont know how to do it. What I can show is a block or item or armor etc. but That's far from a rail.

Posted
  On 1/12/2018 at 9:20 AM, IgazHarcos said:

What I can show is a block or item or armor etc. but That's far from a rail.

Expand  

A rail is a block, so it's not far at all. Make a custom block that extends the rail class (or its base class).

 

What's far away is the minecart entity, which I told you to study. What did you learn?

 

  On 1/11/2018 at 9:33 PM, IgazHarcos said:

Sorry but are you read what I write? I completed thew simple tutorials, AND looked into the source code.

Expand  

Yes, and I just read it again to be sure. You found a tutorial but gave no indication that you had completed a simple mod. Perhaps your writing is not as clear as you imagine.

 

Others have played with rail mods. Try to find an example at github.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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

    • As a stay-at-home dad and a farmer in Kentucky, my primary focus has always been on nurturing my family and managing our land. When Bitcoin began to gain traction, I saw it as a potential opportunity to secure our financial future. With my wife encouragement, I decided to invest $10,000 from our savings into cryptocurrency. Over time, my investment flourished beyond my wildest dreams, eventually soaring to an astonishing $200,000. Just as I began to feel a sense of financial security, disaster struck. In a shocking act of betrayal fueled by jealousy, my wife hacked into my email and gained access to my Bitcoin wallet. The devastation I felt was overwhelming years of careful planning and smart investing were wiped out in an instant. I was left feeling helpless and uncertain, grappling with the fear that I might never recover what I had lost. In the midst of this turmoil, a close friend reached out to me and mentioned RAPID DIGITAL RECOVERY. Desperate for a solution but still holding onto a glimmer of hope, I contacted them, praying for a lifeline. Their team responded promptly, providing both reassurance and a clear plan of action. With remarkable expertise, they tracked down the digital footprints left by the theft and successfully recovered a substantial portion of my stolen funds. But their assistance didn’t end there. Understanding the vulnerability I felt after such a betrayal, they also offered invaluable advice on how to strengthen my digital security to prevent future breaches. Their support was not just technical; it was a source of empowerment that helped me regain my confidence and sense of control over my financial situation. While the betrayal was a painful lesson, it ultimately taught me resilience and the importance of safeguarding my assets. Thanks to RAPID DIGITAL RECOVERY, I didn’t just reclaim my lost Bitcoin; I also regained my peace of mind. This experience has transformed my perspective on both trust and security in the digital age. I now approach investments with a renewed sense of caution and awareness, ensuring that I protect not only my financial future but also my emotional well-being. The journey has been challenging, but it has also been a testament to my strength and determination to rise above adversity as I continue to balance my roles as a dad and a farmer.
    • Same issue without Oculus Flywheel Compat?
    • When i start my game with a shader active the game crashes with this Error: java.lang.NoSuchFieldError: TESSELATION_SHADERS Minecraft java 1.20.1 in forge 47.4.0 crash report in pastebin: https://pastebin.com/6xiwHqZW thanks in advance
    • If you are using AMD/ATI, update your drivers - get the drivers from their website - do not update via system
    • Not sure why this is happening, but I would love some help. The reason I restarted the server was because I was getting an error while trying to join regarding this "Internal Exception: io.netty.handler.codec.DecoderException: io.netty.handler.codec.EncoderException: java.io.IOException: Root tag must be a named compound tag" Im using ServerMiner if thats any help
  • Topics

×
×
  • Create New...

Important Information

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