Copper stairs, blocks and slabs are gone.
This commit is contained in:
parent
c4011c800b
commit
7216f55ba9
32 changed files with 46 additions and 373 deletions
|
@ -24,12 +24,14 @@
|
|||
|
||||
package techreborn.events;
|
||||
|
||||
import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings;
|
||||
import net.minecraft.block.*;
|
||||
import net.minecraft.entity.EquipmentSlot;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.Item.Settings;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.item.ToolMaterials;
|
||||
import net.minecraft.sound.BlockSoundGroup;
|
||||
import reborncore.RebornRegistry;
|
||||
import team.reborn.energy.EnergyTier;
|
||||
import techreborn.TechReborn;
|
||||
|
@ -100,6 +102,7 @@ public class ModRegistry {
|
|||
RebornRegistry.registerBlock(TRContent.RUBBER_PRESSURE_PLATE = InitUtils.setup(new RubberPressurePlateBlock(), "rubber_pressure_plate"), itemGroup);
|
||||
RebornRegistry.registerBlock(TRContent.RUBBER_DOOR = InitUtils.setup(new RubberDoorBlock(), "rubber_door"), itemGroup);
|
||||
RebornRegistry.registerBlockNoItem(TRContent.POTTED_RUBBER_SAPLING = InitUtils.setup(new FlowerPotBlock(TRContent.RUBBER_SAPLING, AbstractBlock.Settings.of(Material.DECORATION).breakInstantly().nonOpaque()), "potted_rubber_sapling"));
|
||||
RebornRegistry.registerBlock(TRContent.COPPER_WALL = InitUtils.setup(new WallBlock(FabricBlockSettings.of(Material.METAL).strength(2f, 2f).sounds(BlockSoundGroup.METAL)), "copper_wall"), itemGroup);
|
||||
|
||||
TechReborn.LOGGER.debug("TechReborns Blocks Loaded");
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@ package techreborn.init;
|
|||
import net.fabricmc.fabric.api.loot.v1.FabricLootPoolBuilder;
|
||||
import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback;
|
||||
import net.minecraft.item.ItemConvertible;
|
||||
import net.minecraft.item.Items;
|
||||
import net.minecraft.loot.LootPool;
|
||||
import net.minecraft.loot.entry.ItemEntry;
|
||||
import net.minecraft.loot.entry.LootPoolEntry;
|
||||
|
@ -40,7 +41,7 @@ public class ModLoot {
|
|||
|
||||
public static void init() {
|
||||
|
||||
LootPoolEntry copperIngot = makeEntry(Ingots.COPPER);
|
||||
LootPoolEntry copperIngot = makeEntry(Items.COPPER_INGOT);
|
||||
LootPoolEntry tinIngot = makeEntry(Ingots.TIN);
|
||||
LootPoolEntry leadIngot = makeEntry(Ingots.LEAD);
|
||||
LootPoolEntry silverIngot = makeEntry(Ingots.SILVER);
|
||||
|
|
|
@ -114,6 +114,7 @@ public class TRContent {
|
|||
public static Block RUBBER_WOOD;
|
||||
public static Block STRIPPED_RUBBER_WOOD;
|
||||
public static Block POTTED_RUBBER_SAPLING;
|
||||
public static Block COPPER_WALL;
|
||||
|
||||
// Armor
|
||||
public static Item CLOAKING_DEVICE;
|
||||
|
@ -426,7 +427,7 @@ public class TRContent {
|
|||
}
|
||||
|
||||
public enum StorageBlocks implements ItemConvertible {
|
||||
ALUMINUM, BRASS, BRONZE, CHROME, COPPER, ELECTRUM, INVAR, IRIDIUM, IRIDIUM_REINFORCED_STONE,
|
||||
ALUMINUM, BRASS, BRONZE, CHROME, ELECTRUM, INVAR, IRIDIUM, IRIDIUM_REINFORCED_STONE,
|
||||
IRIDIUM_REINFORCED_TUNGSTENSTEEL, LEAD, NICKEL, PERIDOT, PLATINUM, RED_GARNET, REFINED_IRON, RUBY,
|
||||
SAPPHIRE, SILVER, STEEL, TIN, TITANIUM, TUNGSTEN, TUNGSTENSTEEL, YELLOW_GARNET, ZINC;
|
||||
|
||||
|
@ -671,7 +672,7 @@ public class TRContent {
|
|||
}
|
||||
|
||||
public enum Ingots implements ItemConvertible {
|
||||
ADVANCED_ALLOY, ALUMINUM, BRASS, BRONZE, CHROME, COPPER, ELECTRUM, HOT_TUNGSTENSTEEL, INVAR, IRIDIUM_ALLOY, IRIDIUM,
|
||||
ADVANCED_ALLOY, ALUMINUM, BRASS, BRONZE, CHROME, ELECTRUM, HOT_TUNGSTENSTEEL, INVAR, IRIDIUM_ALLOY, IRIDIUM,
|
||||
LEAD, MIXED_METAL, NICKEL, PLATINUM, REFINED_IRON, SILVER, STEEL, TIN, TITANIUM, TUNGSTEN, TUNGSTENSTEEL, ZINC;
|
||||
|
||||
public final String name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue