- Added loot table to piglin disguise and updated its texture. (#1123)

- Reformated lootjs file
This commit is contained in:
Redeix 2025-06-02 16:17:52 -05:00 committed by GitHub
parent 52dcc54089
commit 6a26c9b6e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Before After
Before After

View file

@ -0,0 +1,20 @@
{
"type": "minecraft:block",
"pools": [
{
"name": "loot_pool",
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "tfg:piglin_disguise_block"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}

View file

@ -141,6 +141,7 @@ LootJS.modifiers((event) => {
registerLootrLoots(event)
registerPrimitiveCreatesLoots(event)
registerTFCLoots(event)
registerTFGLoots(event)
});
/**

View file

@ -1,7 +1,6 @@
function registerTFGLoots(event) {
LootJS.modifiers((event) => {
//Generated Vases Loot
//#region Vase Loot
global.MINECRAFT_DYE_NAMES.forEach(color => {
event.addBlockLootModifier(`tfg:decorative_vase/generated/${color}`)
.removeLoot(Ingredient.all)
@ -81,4 +80,4 @@ LootJS.modifiers((event) => {
);
})
});
});
};