This is cool. I'm assuming the custom block can be given a model and textures with a resource pack? (I'm not very familiar with those.)
The only downside with this is that it can't be contained within a world directory (so it can't, e.g., be used on Minecraft Realms).
Yes you can use the resource packs to model and texture, that is my preferred method.
Resource packs can be put into map files, I think the folder name is "resources" or something, idk. If you mean the mods, yeah that'd be nice. Mojang is supposed to be working on something like that... so they say
Yeah, I meant the mods. On second thought, I guess it would work if everyone who logged into the Realms server had the "mod" installed, right? Or is it required server-side as well?
I assumed, since the directory for these files is under "client", that it's implemented client-side.
Yeah, I meant the mods. On second thought, I guess it would work if everyone who logged into the Realms server had the "mod" installed, right? Or is it required server-side as well?
I assumed, since the directory for these files is under "client", that it's implemented client-side.
Yeah Realms doesn't accept mods at all as far as I remember. Best to find someone to host servers for you.
This tutorial is for everyone modding without APIs such as Forge, and most definitely isn't being posted so I don't forget!
MCP Version: mcp931
Minecraft Version: 1.10
To register your block and initialize it so that the block shows up in in commands and in creative tabs,
1. Register block into client\src\net\minecraft\block\Block.java
2. Create your Block File.
3. Initialize Block into client\src\net\minecraft\init\Blocks.java
This part is a bit annoying, you have to scroll down find the first list of blocks, go to the bottom of that list and add your blocks like the others.
Then scroll down more and find the second list, add your blocks there too.
Sometimes you also need to import your Block File.
4. Run the game, do setblock command to make sure your block is registered.
Now to get the block to show up in Creative Tabs you must,
5. Register your block to client\src\net\minecraft\item\Item.java then run the game again to make sure it worked.
This is where you register the block to a creative tab, it doesn't seem to care if you add setCreativeTab anywhere else.
This is cool. I'm assuming the custom block can be given a model and textures with a resource pack? (I'm not very familiar with those.)
The only downside with this is that it can't be contained within a world directory (so it can't, e.g., be used on Minecraft Realms).
Yes you can use the resource packs to model and texture, that is my preferred method.
Resource packs can be put into map files, I think the folder name is "resources" or something, idk. If you mean the mods, yeah that'd be nice. Mojang is supposed to be working on something like that... so they say
Yeah, I meant the mods. On second thought, I guess it would work if everyone who logged into the Realms server had the "mod" installed, right? Or is it required server-side as well?
I assumed, since the directory for these files is under "client", that it's implemented client-side.
Yeah Realms doesn't accept mods at all as far as I remember. Best to find someone to host servers for you.