Add the insolator #17
BIN
assets/bulb.afdesign
Normal file
BIN
assets/bulb.afdesign
Normal file
Binary file not shown.
BIN
assets/fiber_glass.afdesign
Normal file
BIN
assets/fiber_glass.afdesign
Normal file
Binary file not shown.
BIN
assets/pcb.afdesign
Normal file
BIN
assets/pcb.afdesign
Normal file
Binary file not shown.
BIN
assets/raw_tungsten.afdesign
Normal file
BIN
assets/raw_tungsten.afdesign
Normal file
Binary file not shown.
BIN
assets/tungsten_block.afdesign
Normal file
BIN
assets/tungsten_block.afdesign
Normal file
Binary file not shown.
BIN
assets/tungsten_ingot.afdesign
Normal file
BIN
assets/tungsten_ingot.afdesign
Normal file
Binary file not shown.
@ -11,6 +11,8 @@ import net.banutama.utamacraft.item.ModItems;
|
|||||||
import net.minecraft.world.item.BlockItem;
|
import net.minecraft.world.item.BlockItem;
|
||||||
import net.minecraft.world.item.Item;
|
import net.minecraft.world.item.Item;
|
||||||
import net.minecraft.world.level.block.Block;
|
import net.minecraft.world.level.block.Block;
|
||||||
|
import net.minecraft.world.level.block.state.BlockBehaviour;
|
||||||
|
import net.minecraft.world.level.material.Material;
|
||||||
import net.minecraftforge.eventbus.api.IEventBus;
|
import net.minecraftforge.eventbus.api.IEventBus;
|
||||||
import net.minecraftforge.registries.DeferredRegister;
|
import net.minecraftforge.registries.DeferredRegister;
|
||||||
import net.minecraftforge.registries.ForgeRegistries;
|
import net.minecraftforge.registries.ForgeRegistries;
|
||||||
@ -25,6 +27,11 @@ public class ModBlocks {
|
|||||||
registerBlock("ethereal_glass", EtherealGlassBlock::new);
|
registerBlock("ethereal_glass", EtherealGlassBlock::new);
|
||||||
public static final RegistryObject<Block> TINTED_ETHEREAL_GLASS =
|
public static final RegistryObject<Block> TINTED_ETHEREAL_GLASS =
|
||||||
registerBlock("tinted_ethereal_glass", TintedEtherealGlassBlock::new);
|
registerBlock("tinted_ethereal_glass", TintedEtherealGlassBlock::new);
|
||||||
|
public static final RegistryObject<Block> TUNGSTEN_BLOCK =
|
||||||
|
registerBlock("tungsten_block",
|
||||||
|
() -> new Block(BlockBehaviour.Properties.of(Material.METAL)
|
||||||
|
.strength(12.0f)
|
||||||
|
.requiresCorrectToolForDrops()));
|
||||||
public static final RegistryObject<Block> INSOLATOR =
|
public static final RegistryObject<Block> INSOLATOR =
|
||||||
registerBlock("insolator", InsolatorBlock::new);
|
registerBlock("insolator", InsolatorBlock::new);
|
||||||
|
|
||||||
|
@ -13,9 +13,18 @@ public class ModItems {
|
|||||||
|
|
||||||
public static final RegistryObject<Item> LOGO =
|
public static final RegistryObject<Item> LOGO =
|
||||||
ITEMS.register("utamacraft_logo", () -> new Item(new Item.Properties()));
|
ITEMS.register("utamacraft_logo", () -> new Item(new Item.Properties()));
|
||||||
|
|
||||||
public static final RegistryObject<Item> PLAYER_PERIPHERAL =
|
public static final RegistryObject<Item> PLAYER_PERIPHERAL =
|
||||||
ITEMS.register("player_peripheral", PlayerPeripheralItem::new);
|
ITEMS.register("player_peripheral", PlayerPeripheralItem::new);
|
||||||
|
public static final RegistryObject<Item> TUNGSTEN_INGOT =
|
||||||
|
ITEMS.register("tungsten_ingot", () -> new Item(new Item.Properties()));
|
||||||
|
public static final RegistryObject<Item> RAW_TUNGSTEN =
|
||||||
|
ITEMS.register("raw_tungsten", () -> new Item(new Item.Properties()));
|
||||||
|
public static final RegistryObject<Item> FIBER_GLASS =
|
||||||
|
ITEMS.register("fiber_glass", () -> new Item(new Item.Properties()));
|
||||||
|
public static final RegistryObject<Item> PCB =
|
||||||
|
ITEMS.register("pcb", () -> new Item(new Item.Properties()));
|
||||||
|
public static final RegistryObject<Item> BULB =
|
||||||
|
ITEMS.register("bulb", () -> new Item(new Item.Properties()));
|
||||||
|
|
||||||
public static void register(IEventBus eventBus) {
|
public static void register(IEventBus eventBus) {
|
||||||
ITEMS.register(eventBus);
|
ITEMS.register(eventBus);
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"variants": {
|
||||||
|
"": { "model": "utamacraft:block/tungsten_block" }
|
||||||
|
}
|
||||||
|
}
|
@ -2,9 +2,16 @@
|
|||||||
"block.utamacraft.ethereal_glass": "Ethereal Glass",
|
"block.utamacraft.ethereal_glass": "Ethereal Glass",
|
||||||
"block.utamacraft.insolator": "Insolator",
|
"block.utamacraft.insolator": "Insolator",
|
||||||
"block.utamacraft.tinted_ethereal_glass": "Tinted Ethereal Glass",
|
"block.utamacraft.tinted_ethereal_glass": "Tinted Ethereal Glass",
|
||||||
|
"block.utamacraft.tungsten_block": "Tungsten Block",
|
||||||
"block_entity.utamacraft.insolator": "Insolator",
|
"block_entity.utamacraft.insolator": "Insolator",
|
||||||
|
"item.utamacraft.bulb": "Bulb",
|
||||||
|
"item.utamacraft.fiber_glass": "Fiberglass",
|
||||||
"item.utamacraft.insolator": "Insolator",
|
"item.utamacraft.insolator": "Insolator",
|
||||||
|
"item.utamacraft.pcb": "Printed Circuit Board",
|
||||||
"item.utamacraft.player_peripheral": "Player peripheral",
|
"item.utamacraft.player_peripheral": "Player peripheral",
|
||||||
|
"item.utamacraft.raw_tungsten": "Raw Tungsten",
|
||||||
|
"item.utamacraft.tungsten_block": "Tungsten Block",
|
||||||
|
"item.utamacraft.tungsten_ingot": "Tungsten Ingot",
|
||||||
"item.utamacraft.utamacraft_logo": "Utamacraft",
|
"item.utamacraft.utamacraft_logo": "Utamacraft",
|
||||||
"itemGroup.utamacraft_tab": "Utamacraft",
|
"itemGroup.utamacraft_tab": "Utamacraft",
|
||||||
"tooltip.utamacraft.ethereal_glass": "Glass that is not solid to players",
|
"tooltip.utamacraft.ethereal_glass": "Glass that is not solid to players",
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "block/cube_all",
|
||||||
|
"textures": {
|
||||||
|
"all": "utamacraft:block/tungsten_block"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "utamacraft:item/bulb"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "utamacraft:item/fiber_glass"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "utamacraft:item/pcb"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "utamacraft:item/raw_tungsten"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"parent": "utamacraft:block/tungsten_block"
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"parent": "item/generated",
|
||||||
|
"textures": {
|
||||||
|
"layer0": "utamacraft:item/tungsten_ingot"
|
||||||
|
}
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
src/main/resources/assets/utamacraft/textures/item/bulb.png
Normal file
BIN
src/main/resources/assets/utamacraft/textures/item/bulb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
src/main/resources/assets/utamacraft/textures/item/pcb.png
Normal file
BIN
src/main/resources/assets/utamacraft/textures/item/pcb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
23
src/main/resources/data/utamacraft/recipes/bulb.json
Normal file
23
src/main/resources/data/utamacraft/recipes/bulb.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
" # ",
|
||||||
|
"#T#",
|
||||||
|
" C "
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"#": {
|
||||||
|
"item": "minecraft:glass"
|
||||||
|
},
|
||||||
|
"T": {
|
||||||
|
"item": "utamacraft:tungsten_ingot"
|
||||||
|
},
|
||||||
|
"C": {
|
||||||
|
"item": "minecraft:copper_ingot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "utamacraft:bulb",
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
}
|
19
src/main/resources/data/utamacraft/recipes/fiber_glass.json
Normal file
19
src/main/resources/data/utamacraft/recipes/fiber_glass.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
"SK",
|
||||||
|
"KS"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"S": {
|
||||||
|
"item": "minecraft:sugar_cane"
|
||||||
|
},
|
||||||
|
"K": {
|
||||||
|
"item": "minecraft:kelp"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "utamacraft:fiber_glass",
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
}
|
@ -1,19 +1,22 @@
|
|||||||
{
|
{
|
||||||
"type": "minecraft:crafting_shaped",
|
"type": "minecraft:crafting_shaped",
|
||||||
"pattern": [
|
"pattern": [
|
||||||
"ROR",
|
"TCT",
|
||||||
"I I",
|
"TB ",
|
||||||
"sss"
|
"sPs"
|
||||||
],
|
],
|
||||||
"key": {
|
"key": {
|
||||||
"O": {
|
"T": {
|
||||||
"item": "minecraft:obsidian"
|
"item": "utamacraft:tungsten_ingot"
|
||||||
},
|
},
|
||||||
"R": {
|
"C": {
|
||||||
"item": "minecraft:redstone_block"
|
"item": "minecraft:copper_ingot"
|
||||||
},
|
},
|
||||||
"I": {
|
"B": {
|
||||||
"item": "minecraft:iron_block"
|
"item": "utamacraft:bulb"
|
||||||
|
},
|
||||||
|
"P": {
|
||||||
|
"item": "utamacraft:pcb"
|
||||||
},
|
},
|
||||||
"s": {
|
"s": {
|
||||||
"item": "minecraft:stone_slab"
|
"item": "minecraft:stone_slab"
|
||||||
|
22
src/main/resources/data/utamacraft/recipes/pcb.json
Normal file
22
src/main/resources/data/utamacraft/recipes/pcb.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
"FF",
|
||||||
|
"CG"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"F": {
|
||||||
|
"item": "utamacraft:fiber_glass"
|
||||||
|
},
|
||||||
|
"C": {
|
||||||
|
"item": "minecraft:copper_ingot"
|
||||||
|
},
|
||||||
|
"G": {
|
||||||
|
"item": "minecraft:gold_ingot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "utamacraft:pcb",
|
||||||
|
"count": 1
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shaped",
|
||||||
|
"pattern": [
|
||||||
|
"TTT",
|
||||||
|
"TTT",
|
||||||
|
"TTT"
|
||||||
|
],
|
||||||
|
"key": {
|
||||||
|
"T": {
|
||||||
|
"item": "utamacraft:tungsten_ingot"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"item": "utamacraft:tungsten_block"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:crafting_shapeless",
|
||||||
|
"ingredients": [
|
||||||
|
{
|
||||||
|
"item": "utamacraft:tungsten_block"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"result": {
|
||||||
|
"item": "utamacraft:tungsten_ingot",
|
||||||
|
"count": 9
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:blasting",
|
||||||
|
"cookingtime": 200,
|
||||||
|
"experience": 1.0,
|
||||||
|
"group": "tungsten",
|
||||||
|
"ingredient": {
|
||||||
|
"item": "utamacraft:raw_tungsten"
|
||||||
|
},
|
||||||
|
"result": "utamacraft:tungsten_ingot"
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"type": "minecraft:smelting",
|
||||||
|
"cookingtime": 400,
|
||||||
|
"experience": 1.0,
|
||||||
|
"group": "tungsten",
|
||||||
|
"ingredient": {
|
||||||
|
"item": "utamacraft:raw_tungsten"
|
||||||
|
},
|
||||||
|
"result": "utamacraft:tungsten_ingot"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user