Add loottables, advancement and mineable tag to essence stuff
This commit is contained in:
parent
40da26033d
commit
398bff70b8
@ -537,4 +537,20 @@ fun addAdvancements(serializer: Consumer<Advancement>, existingFileHelper: Exist
|
|||||||
.addCriterion("pill3", criterion(MItems.PILL_HUMANE))
|
.addCriterion("pill3", criterion(MItems.PILL_HUMANE))
|
||||||
.addCriterion("pill4", criterion(MItems.PILL_OBLIVION))
|
.addCriterion("pill4", criterion(MItems.PILL_OBLIVION))
|
||||||
.save(serializer, modLocation("regular/all_pills"), existingFileHelper)
|
.save(serializer, modLocation("regular/all_pills"), existingFileHelper)
|
||||||
|
|
||||||
|
AdvancementBuilder()
|
||||||
|
.parent(root)
|
||||||
|
.display(
|
||||||
|
itemStack = ItemStack(MItems.ESSENCE_CAPSULE),
|
||||||
|
title = translation.add("essence_capsule", "Forgot To Forget") {
|
||||||
|
russian("Я забыл забыть")
|
||||||
|
},
|
||||||
|
description = translation.add("essence_capsule.desc", "Recover Essence Capsule. Memories...") {
|
||||||
|
russian("Верните капсулу эссенции. Воспоминания...")
|
||||||
|
},
|
||||||
|
)
|
||||||
|
.requirements(RequirementsStrategy.OR)
|
||||||
|
.addCriterion("essence1", criterion(MItems.ESSENCE_CAPSULE))
|
||||||
|
.addCriterion("essence2", criterion(MItems.ESSENCE_DRIVE))
|
||||||
|
.save(serializer, modLocation("regular/essence_capsule"), existingFileHelper)
|
||||||
}
|
}
|
||||||
|
@ -136,6 +136,7 @@ fun addLootTables(lootTables: LootTables) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lootTables.tile(MBlocks.COBBLESTONE_GENERATOR)
|
lootTables.tile(MBlocks.COBBLESTONE_GENERATOR)
|
||||||
|
lootTables.tile(MBlocks.ESSENCE_STORAGE)
|
||||||
|
|
||||||
lootTables.tile(MBlocks.ENERGY_SERVO)
|
lootTables.tile(MBlocks.ENERGY_SERVO)
|
||||||
lootTables.tile(MBlocks.ENERGY_COUNTER)
|
lootTables.tile(MBlocks.ENERGY_COUNTER)
|
||||||
|
@ -171,6 +171,7 @@ fun addTags(tagsProvider: TagsProvider) {
|
|||||||
MBlocks.ENGINE,
|
MBlocks.ENGINE,
|
||||||
MBlocks.HOLO_SIGN,
|
MBlocks.HOLO_SIGN,
|
||||||
MBlocks.COBBLESTONE_GENERATOR,
|
MBlocks.COBBLESTONE_GENERATOR,
|
||||||
|
MBlocks.ESSENCE_STORAGE,
|
||||||
), Tiers.IRON)
|
), Tiers.IRON)
|
||||||
|
|
||||||
tagsProvider.requiresPickaxe(MBlocks.TRITANIUM_ANVIL, Tiers.IRON)
|
tagsProvider.requiresPickaxe(MBlocks.TRITANIUM_ANVIL, Tiers.IRON)
|
||||||
|
Loading…
Reference in New Issue
Block a user