Missing tile

This commit is contained in:
paulevsGitch 2021-01-31 14:53:16 +03:00
parent 211c87864d
commit 7b40047213
6 changed files with 32 additions and 10 deletions

View file

@ -0,0 +1,11 @@
package ru.betterend.blocks;
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
import net.minecraft.block.Blocks;
import ru.betterend.blocks.basis.BlockBase;
public class MissingTileBlock extends BlockBase {
public MissingTileBlock() {
super(FabricBlockSettings.copyOf(Blocks.END_STONE));
}
}

View file

@ -171,6 +171,13 @@ public class CraftingRecipes {
GridRecipe.make("iron_chandelier", EndBlocks.IRON_CHANDELIER).setShape("I#I", " # ").addMaterial('#', Items.IRON_INGOT).addMaterial('I', EndItems.LUMECORN_ROD).setGroup("end_metal_chandelier").build();
GridRecipe.make("gold_chandelier", EndBlocks.GOLD_CHANDELIER).setShape("I#I", " # ").addMaterial('#', Items.GOLD_INGOT).addMaterial('I', EndItems.LUMECORN_ROD).setGroup("end_metal_chandelier").build();
GridRecipe.make("missing_tile", EndBlocks.MISSING_TILE)
.setOutputCount(4)
.setShape("#P", "P#")
.addMaterial('#', EndBlocks.VIOLECITE.stone, EndBlocks.VIOLECITE.bricks, EndBlocks.VIOLECITE.tiles)
.addMaterial('P', Blocks.PURPUR_BLOCK)
.build();
}
private static void registerLantern(String name, Block lantern, Block slab) {

View file

@ -61,6 +61,7 @@ import ru.betterend.blocks.LumecornBlock;
import ru.betterend.blocks.LumecornSeedBlock;
import ru.betterend.blocks.MengerSpongeBlock;
import ru.betterend.blocks.MengerSpongeWetBlock;
import ru.betterend.blocks.MissingTileBlock;
import ru.betterend.blocks.MossyGlowshroomCapBlock;
import ru.betterend.blocks.MossyGlowshroomHymenophoreBlock;
import ru.betterend.blocks.MossyGlowshroomSaplingBlock;
@ -135,6 +136,7 @@ public class EndBlocks {
public static final StoneMaterial SULPHURIC_ROCK = new StoneMaterial("sulphuric_rock", MaterialColor.BROWN);
public static final Block BRIMSTONE = registerBlock("brimstone", new BrimstoneBlock());
public static final Block SULPHUR_CRYSTAL = registerBlock("sulphur_crystal", new SulphurCrystalBlock());
public static final Block MISSING_TILE = registerBlock("missing_tile", new MissingTileBlock());
public static final Block FLAVOLITE_RUNED = registerBlock("flavolite_runed", new RunedFlavolite());
public static final Block FLAVOLITE_RUNED_ETERNAL = registerBlock("flavolite_runed_eternal", new EternalRunedFlavolite());

View file

@ -78,14 +78,14 @@
"effect.betterend.end_veil": "End Veil",
"enchantment.betterend.end_veil": "End Veil",
"item.minecraft.potion.effect.end_veil": "Potion of End Veil",
"item.minecraft.potion.effect.long_end_veil": "Potion of End Veil",
"item.minecraft.splash_potion.effect.end_veil": "Splash potion of End Veil",
"item.minecraft.splash_potion.effect.long_end_veil": "Splash potion of End Veil",
"item.minecraft.lingering_potion.effect.end_veil": "Lingering potion of End Veil",
"item.minecraft.lingering_potion.effect.long_end_veil": "Lingering potion of End Veil",
"item.minecraft.tipped_arrow.effect.end_veil": "Arrow of End Veil",
"item.minecraft.tipped_arrow.effect.long_end_veil": "Arrow of End Veil",
"item.minecraft.potion.effect.end_veil": "Potion Of End Veil",
"item.minecraft.potion.effect.long_end_veil": "Potion Of End Veil",
"item.minecraft.splash_potion.effect.end_veil": "Splash Potion Of End Veil",
"item.minecraft.splash_potion.effect.long_end_veil": "Splash Potion Of End Veil",
"item.minecraft.lingering_potion.effect.end_veil": "Lingering Potion Of End Veil",
"item.minecraft.lingering_potion.effect.long_end_veil": "Lingering Potion Of End Veil",
"item.minecraft.tipped_arrow.effect.end_veil": "ARrow Of End Veil",
"item.minecraft.tipped_arrow.effect.long_end_veil": "ARrow Of End Veil",
"block.betterend.mossy_glowshroom_sapling": "Mossy Glowshroom Sapling",
"block.betterend.mossy_glowshroom_cap": "Mossy Glowshroom Cap",
@ -656,5 +656,6 @@
"item.betterend.thallasium_chestplate": "Thallasium Chestplate",
"item.betterend.thallasium_hammer": "Thallasium Hammer",
"item.betterend.thallasium_helmet": "Thallasium Helmet",
"item.betterend.thallasium_leggings": "Thallasium Leggings"
"item.betterend.thallasium_leggings": "Thallasium Leggings",
"block.betterend.missing_tile": "Missing Tile"
}

View file

@ -676,5 +676,6 @@
"item.betterend.thallasium_chestplate": "Талласиевый нагрудник",
"item.betterend.thallasium_hammer": "Талласиевый молот",
"item.betterend.thallasium_helmet": "Талласиевый шлем",
"item.betterend.thallasium_leggings": "Талласиевые поножи"
"item.betterend.thallasium_leggings": "Талласиевые поножи",
"block.betterend.missing_tile": "Отсутствующая плитка"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 B