Missing tile
This commit is contained in:
parent
211c87864d
commit
7b40047213
6 changed files with 32 additions and 10 deletions
11
src/main/java/ru/betterend/blocks/MissingTileBlock.java
Normal file
11
src/main/java/ru/betterend/blocks/MissingTileBlock.java
Normal 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));
|
||||
}
|
||||
}
|
|
@ -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) {
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue