This commit is contained in:
SpeeeDCraft 2023-10-24 22:24:15 +07:00
parent 3bfcc9187b
commit 49f5fd44a6
5 changed files with 139 additions and 4 deletions

View file

@ -3,8 +3,8 @@
const modifyLootGT = (event) => {
global.allTFCStoneTypeNames.forEach(stoneType => {
GTRegistries.MATERIALS.forEach(material => {
if (material.hasProperty($PropertyKey.ORE))
{
if (material.hasProperty($PropertyKey.ORE)) {
const blockName = `gtceu:tfc_${stoneType}_${material}_ore`
event.addBlockLootModifier(blockName)