Adding any mod breaks Custom Stone Types made from modded blocks
Electrolyte220 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
1.1.3
Recipe Viewer Installed
None
Environment
Singeplayer
Cross-Mod Interaction
Yes
Other Installed Mods
Architectury (9.1.13)
KubeJS (2001.6.4-build.133)
Rhino (2001.2.2-build.18)
Create (0.5.1.f)
Expected Behavior
Expected the custom ore to be a solid block, and be breakable.
Actual Behavior
Custom ore is pass through and unbreakable.
Steps to Reproduce
- Create a custom stone type, using any modded block as the base, following the wiki:
GTCEuStartupEvents.registry('gtceu:tag_prefix', e => {
e.create('scoria', 'ore')
.stateSupplier(() => Block.getBlock('create:scoria').defaultBlockState())
.baseModelLocation('create:block/scoria')
.unificationEnabled(true)
.materialIconType(GTMaterialIconType.ore)
.miningToolTag("mineable/pickaxe")
.generationCondition(ItemGenerationCondition.hasOreProperty)
})
- Load into a world, and place any ore from the custom stone type, noting that it behaves as it should.
- Install any mod (yes any) and load back into the world, noting now the block is passthrough and unbreakable.
- Remove the mod you added in step 3 and reload into the world, noting the block now behaves as it should again.
Additional Information
No response