NotSoEpic / deepdrilling

An addon for the Minecraft mod Create, adding powerful drills that extract ores from deep within the earth
MIT License
1 stars 1 forks source link

Infinite drill durability? #11

Open dryas-octopetala opened 1 month ago

dryas-octopetala commented 1 month ago

How can I make the drills unbreakable? Trying to use them as an infinite miner like in factorio style games.

NotSoEpic commented 1 month ago

Oh whoops I didn't actually mention how in the patch notes- You add a Unbreakable:1b to the item tag like you would any tool (/give @s deepdrilling:andesite_drill_head{Unbreakable:1b})

This doesn't really help for survival/smp playthroughs because you can't actually add nbt to crafting recipes in 1.20.1... Configurable drill head stats is on the todo

dryas-octopetala commented 1 month ago

Thanks a bunch!

I really love this take on drills. I've seen large multiblock bores, rotational small machines, and lasers with create but I like this solution better since it allows for hiding functional drills in builds. If you are interested in the file, I've made a resource pack which matches the look of Bare bones x Create for your addon.

dryas-octopetala commented 1 month ago

Also, This doesn't really help for survival/smp playthroughs because you can't actually add nbt to crafting recipes in 1.20.1... is true but there's an easy way to do it with datapacks. Create a vanilla recipe using tags for the modded recipe of drills then have it output some kind of item with an achievement and when picked up /give the player a modded nbt item and then clear the achievement and dummy item.

dryas-octopetala commented 1 month ago

Hi, me again, how can I add custom ore nodes? It looks like I need to add an entry in ore_nodes with the chosen node and it's loot tables for earth/common/rare but will that make it so the drills can extract from it with no problem?