Started by
bobtrump
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod with a new item called obsidian shards, you can right click with it to chip bedrock, until it gets to a state where it is mineable with a pickaxe, how would I do this?
you would have to replace the bedrock a new "chipped bedrock" block, as bedrock has a hardness of -1 which means it's unbreakable
When right clicked on block (hand loc.) condition
|
|(if block is bedrock)
|| set block at x y z to chipped bedrock
||
||
Dragoplayser is right, you can make several chipped bedrock blocks (all except last with hardness -1) and the final one would have hardness possible to break.
Of course it's my way of doing things, longest one, probably there's faster and easier method of doing this. But several undestructible blocks sometimes can be useful.
There Is Another Simple Way To Do This Make Obsidian Shard Able To Break Anything