Custom ores done through kubejs have no minecraft:mineable tag
PuffOfficial opened this issue ยท 1 comments
Checked for existing issues
- I have checked for existing issues, and have found none.
Tested latest version
- I have checked that this occurs on the latest version.
GregTech CEu Version
v7.2.0
Minecraft Version
1.20.1 Forge
Recipe Viewer Installed
EMI
Environment
Singleplayer
Cross-Mod Interaction
Yes
Other Installed Mods
GT:FTE
Expected Behavior
Block should have minecraft:mineable/pickaxe block tag
Actual Behavior
No any tags expect forge unification
Steps to Reproduce
GTCEuStartupEvents.registry('gtceu:tag_prefix', event => {
event.create('sandstone', 'ore')
.stateSupplier(() => Block.getBlock('minecraft:sandstone').defaultBlockState())
.baseModelLocation('minecraft:block/sandstone')
.unificationEnabled(true)
.materialIconType(GTMaterialIconType.ore)
.generationCondition(ItemGenerationCondition.hasOreProperty)
})Additional Information
No response
yes, you have to add mineabilty tags manually.
That's because we can't assume you want your ore to be mined with a pickaxe and the builder can't just remove the default if you set a new tag, because you can set multiple.
Like, what if you wanted your ore to be mineable with shovels instead of pickaxes? In that case, if the builder set the pickaxe tag as default, you'd have to accept it being mineable with both shovels and pickaxes.
Do .miningToolTag("minecraft:mineable/pickaxe") to make the ore blocks mineable with pickaxes.