Add light bulb lamp drop

This commit is contained in:
Andrew-71 2023-09-03 21:47:22 +03:00
parent 9c0ea2f5be
commit 224584875d
4 changed files with 36 additions and 5 deletions

View file

@ -0,0 +1,30 @@
{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"entries": [
{
"type": "minecraft:item",
"name": "new_soviet:light_bulb_lamp"
}
],
"rolls": 1.0
}
]
}

View file

@ -436,6 +436,8 @@ public class DataGeneration implements DataGeneratorEntrypoint {
addDrop(NSE_Blocks.CYAN_LINOLEUM_STAIRS);
addDrop(NSE_Blocks.METAL_PLATING_SLAB);
addDrop(NSE_Blocks.METAL_PLATING_STAIRS);
addDropWithSilkTouch(NSE_Custom.LIGHT_BULB_LAMP);
}
}