Using Crafty, you can make your own blocks and items through JSON!
Read the wiki to get started (link below).
Includes support for Towelette.
Requirements:
- Fabric Loader (0.4.6+ from Crafty 0.3.3 onwards)
- Fabric API
- Fabric Language Kotlin (1.3.30+)
code | wiki
why did you stop making the mod
In reply to Forge_User_22627642:
no clue why he did, but it still works in 1.15. there is a mod like this being made by the dev of function API though
Neat! Just used this to add simple ore-bearing rock items and it's working perfectly. Took me a hot minute to figure out why my items refused to show up as anything other than the "missing texture" icon, then realized I forgot to make model files for them. Whoops. :) Anyway, this is really cool, thanks for sharing it.
some documentation on how the list on stuff like "effectChances" would help. because i'm not sure if "
can you add examples of onuse and effects
when are you starting with tools and stuff
it could do with the build number of the jars needs including fabric
What exactly is the "base" property used for? You can already determine the hardness and the shape of a block, so why do you need the "base" property? Does this determine with what tool you can mine it the fastest?
In reply to Kleingrrmpf:
With the base property, you can copy the material of another block. I might make it optional in the future.
And also, would it be possible to make this mod /reload compatible? This is really a great mod and what all map-/datapackmakers want in vanilla, but it is a little tedious to restart the game every time that you changed sth. in the block files. Especially for me who is still trying to understand how this mod works it is quite a pain.
IT IS NOT THAT HARD MOJANG!!
Do I have to create a seperate item for every block that I create? Because what I did is, I told the blockmodel how the block is supposed to look like in the inventory or when held in hand. But this didn't seem to apply in game. Does it make any difference if I include a "display" section in the model?
EDIT:
I tried making a seperate block item located in the item folder. The JSON contained:
{
"id": "crafty_example:simple_block"
}
I am not sure on how to do that because in your wiki you said that if the block-JSON contained a section "item" that contained "id" it would be ignored. That confused me a lot and since the "display"-settings from the blockmodel are not taken over for the item I'm stuck.
I think it would be a good idea for you to make a video or sth. where you just explain every property that can be applied to a block and how to properly add blocks with a correctly displayed block-item. This would probably be very useful for many creators since your wiki is, well, a little confusing on how to add a block-item.
In reply to Kleingrrmpf:
Fixed it!
I had to make a seperate item model. This has to have the same name as the block model. If you have specified the position, rotation and scale for inventory, hand etc. the item model only has to be:
{
"parent": "your_namespace:block/your_block"
}
In reply to Kleingrrmpf:
Yeah, the wiki could use some work. For block items, you just add an "item" property in a block JSON, which can be empty or have any property of item JSONs. The mentioned "id" property does not actually exist in Crafty anymore; it was used before automatic ID detection.
I think its to do with blockstates it does it with the name space minecraft
but will load as items form
I cant use block textures
Can I make blocks that behaves like sea pickles or turtle eggs? I do want to add pebbles in decoration blocks.
i thought it was real not very funny
and can you add install info for the jar so people know exactly what jar verisons to use and loader
In reply to Forge_User_22627642:
You thought what was real? I’m pretty sure this mod is real.
Still confused, hence why I threnching asked for a guide for 3 year old dummies. Thanks though.