Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed documentation for creating Rift mods to this example mod #15

Open
chexo3 opened this issue Oct 25, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@chexo3
Copy link

chexo3 commented Oct 25, 2018

Seeing that this is an example mod for Rift, I'm having trouble figuring out how this works. To be fair, I'm not familiar with Minecraft mod development with FML/Forge. And I'm not very familiar with mod development for mods that don't use Forge or FML, such as Rift and other loaders. I'm just having trouble understanding how this is supposed to work. Really, I'm interested in getting into modding with Rift, and I am having trouble figuring out where to start.

@Robijnvogel
Copy link
Contributor

Robijnvogel commented Oct 26, 2018

You mean in the code? That sounds reasonable.

For now, note that we are using Suppliers to create instances of anonymous extensions (child-classes) of the vanilla BlockSlab and BlockStairs classes that have a few overridden methods in order to make them directional like logs and make them strip-able.
Then we register the blocks and items.

All of the block models are done by hand and are in the same format as vanilla's blocks.
The reason that there's so many of them is that the combination of Stairs and directionality just creates hundreds of different states that a Log-Stair block can be in.

@Robijnvogel Robijnvogel changed the title Can you add some more detailed comments to HalfLogs.java? Add more detailed documentation for creating Rift mods to this example mod Oct 26, 2018
@Robijnvogel Robijnvogel added the enhancement New feature or request label Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants