Giter Club home page Giter Club logo

examplemod's Introduction

ExampleMod

Getting started with minecraft modding? Check out this example!

Current Verion: 1.8.9

Getting Started

Welcome to the wonderful world of modding. When you start it may seem extremely tough and all the tutorials out there are hard and confusing. Just start with the basics, add an item, then move to a block. You never want to start out making the next thaumcraft or the next thermal expansion. You will get easily frustrated and want to quit and I never want anyone to get that feeling. My first tip is know an object oriented programming language or an OOP. Java is an OOP and will be pretty easy to learn with modding if you haven't touched it before. If you don't know any OOP's at all then you should learn to write basic java programs first that way you are familiar with the syntax and formatting that goes along with it. Knowing how to fix the errors that syntax errors and casting can produce is the next step. When learning a language make mistakes on purpose that way you know exactly where it is wrong and what error message is given. That way if you ever receive an error message in the future you will know what types of things you did so you can fix it. Following tutorials is a great way to start but you have to make sure that you are watching the right minecraft version. If you are just starting out you don't really know the difference between minecraft updates and how to port the difference. So if you want to learn 1.7.10 modding watch 1.7.10 tutorials. Along with the last paragraph of making mistakes when learning to code. You need to make mistakes on purpose to learn the errors that minecraft will throw. You can also learn a lot from looking at some open source projects code and learning from them. Getting help when problems seem tough is crucial. Where to get help is even more crucial. I have told you many times that knowing how to fix common errors is crucial because if you ask one of those problems in the common modding help channels they will have you banned quicker than you can say im sorry. Most modders hang out on IRC we use espernet, I recommend IRCCloud for a client but that is just me. The #minecraftforge channel can be helpful once in a blue moon but in my experience its just a great place to get beaten to a pulp as a new modder. You can ask me in #Cricket if you want :P I finish with a good luck and enjoy yourself. Make sure you are always having fun when modding or you aren't doing it for the right reason. So go forth with your modding career. Create some awesome stuff and have a great time!

Setting up your workspace

First you will need to clone the repo Navigate to a good place that you want your mod to be and open console where you will type the following:

git clone https://github.com/TheCricket/ExampleMod.git

Once you have this done a new folder will be there called ExampleMod. You can rename this if you want. Open the folder and open another console window. You should be used to this as a coder. You will type:

gradlew setupDecompWorkspace

This will setup a dev workspace where you can also see the minecraft code. It will take a while and at some points look like it is frozen don't worry. If you wan't to see more progress you can do this instead

gradlew setupDecompWorkspace --info

This is where you can differ. I prefer Intellij Idea where you have to run genIntellijRuns which can be found in its gradle tab. If you are using eclipse you are already done :)

examplemod's People

Contributors

thecricket avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

immortalcatz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.