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

@ -14,4 +14,4 @@ Minecraft mod to relive the good old days
**A**: The best place to do that would be the [project's Discord](https://discord.gg/D46vGJeCfj)
**Q**: Will you port to Forge or older version?\
**A**: Right now we have no plans for that. If the mod becomes popular we might consider going multi-loader, but we won't ever backport to old versions.
**A**: Right now we have no plans for that. If the mod becomes popular we might consider going multi-loader, but we won't ever backport to old versions, and will target the latest one.

View file

@ -1,8 +1,6 @@
=== Andrew71 agenda (14.08.23) ===
* Minotaur publishing
=== Andrew71 agenda since (14.08.23) ===
* Fix GitHub mirror
* Make good README.md stuff
* Revise all new code for issues
=== STUFF TO ADD/FIX ===
* Add slab and stair variations
@ -12,7 +10,8 @@
* Add achievement criterion for dice and advancements
* PO2 wall (fix)
* What's switch type 2?
* Populate blocktags e.g. PLANKS
* All the lamps (lamp posts too!)
* Look into cigarette and handrail for code cleanup
=== ACHIEVEMENTS ===
Kolkhoz warrior - kill a zombie, skeleton, creeper and spider with a sickle

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);
}
}