- Added loot table to piglin disguise and updated its texture. (#1123)
- Reformated lootjs file
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -141,6 +141,7 @@ LootJS.modifiers((event) => {
|
||||
registerLootrLoots(event)
|
||||
registerPrimitiveCreatesLoots(event)
|
||||
registerTFCLoots(event)
|
||||
registerTFGLoots(event)
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) => {
|
||||
);
|
||||
})
|
||||
});
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user