Add ship engine recipe, lang string and tag
This commit is contained in:
parent
51c35d6142
commit
f89af0aefb
@ -370,6 +370,8 @@ private fun blocks(provider: MatteryLanguageProvider) {
|
|||||||
add(MBlocks.DRIVE_VIEWER, "Drive Viewer")
|
add(MBlocks.DRIVE_VIEWER, "Drive Viewer")
|
||||||
add(MBlocks.BLACK_HOLE, "Local Anomalous Singular Gravitation Field")
|
add(MBlocks.BLACK_HOLE, "Local Anomalous Singular Gravitation Field")
|
||||||
|
|
||||||
|
add(MBlocks.ENGINE, "Ship Engine")
|
||||||
|
|
||||||
add(MBlocks.TRITANIUM_INGOT_BLOCK, "Tritanium Plating Block")
|
add(MBlocks.TRITANIUM_INGOT_BLOCK, "Tritanium Plating Block")
|
||||||
|
|
||||||
add(MBlocks.ENERGY_COUNTER, "Energy Counter")
|
add(MBlocks.ENERGY_COUNTER, "Energy Counter")
|
||||||
|
@ -58,6 +58,8 @@ fun addLootTables(lootTables: LootTables) {
|
|||||||
lootTables.dropsSelf(MBlocks.METAL_BEAM) { condition(ExplosionCondition.survivesExplosion()) }
|
lootTables.dropsSelf(MBlocks.METAL_BEAM) { condition(ExplosionCondition.survivesExplosion()) }
|
||||||
lootTables.dropsSelf(MBlocks.TRITANIUM_INGOT_BLOCK) { condition(ExplosionCondition.survivesExplosion()) }
|
lootTables.dropsSelf(MBlocks.TRITANIUM_INGOT_BLOCK) { condition(ExplosionCondition.survivesExplosion()) }
|
||||||
|
|
||||||
|
lootTables.dropsSelf(MBlocks.ENGINE) { condition(ExplosionCondition.survivesExplosion()) }
|
||||||
|
|
||||||
for (door in MBlocks.TRITANIUM_TRAPDOOR.values)
|
for (door in MBlocks.TRITANIUM_TRAPDOOR.values)
|
||||||
lootTables.dropsSelf(door) { condition(ExplosionCondition.survivesExplosion()) }
|
lootTables.dropsSelf(door) { condition(ExplosionCondition.survivesExplosion()) }
|
||||||
|
|
||||||
|
@ -315,4 +315,12 @@ fun addDecorativesRecipes(provider: MatteryRecipeProvider, consumer: Consumer<Fi
|
|||||||
.unlockedBy(MItemTags.TRITANIUM_PLATES)
|
.unlockedBy(MItemTags.TRITANIUM_PLATES)
|
||||||
.save(consumer)
|
.save(consumer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MatteryRecipe(MItems.ENGINE, count = 24, category = RecipeCategory.BUILDING_BLOCKS)
|
||||||
|
.rowAC(MItemTags.TRITANIUM_INGOTS, MItemTags.TRITANIUM_INGOTS)
|
||||||
|
.row(MItemTags.TRITANIUM_INGOTS, Items.FLINT_AND_STEEL, MItemTags.TRITANIUM_INGOTS)
|
||||||
|
.row(MItemTags.TRITANIUM_INGOTS, MItems.MATTER_CABLE, MItemTags.TRITANIUM_INGOTS)
|
||||||
|
.unlockedBy(MItemTags.TRITANIUM_INGOTS)
|
||||||
|
.unlockedBy(Items.FLINT_AND_STEEL)
|
||||||
|
.build(consumer)
|
||||||
}
|
}
|
||||||
|
@ -141,6 +141,8 @@ fun addTags(tagsProvider: TagsProvider) {
|
|||||||
MBlocks.ENERGY_SERVO,
|
MBlocks.ENERGY_SERVO,
|
||||||
|
|
||||||
MBlocks.TRITANIUM_INGOT_BLOCK,
|
MBlocks.TRITANIUM_INGOT_BLOCK,
|
||||||
|
|
||||||
|
MBlocks.ENGINE,
|
||||||
), Tiers.IRON)
|
), Tiers.IRON)
|
||||||
|
|
||||||
tagsProvider.requiresPickaxe(MBlocks.TRITANIUM_ORE, Tiers.IRON)
|
tagsProvider.requiresPickaxe(MBlocks.TRITANIUM_ORE, Tiers.IRON)
|
||||||
|
Loading…
Reference in New Issue
Block a user