diff --git a/src/main/java/com/nomiceu/nomilabs/item/ItemTinyCoke.java b/src/main/java/com/nomiceu/nomilabs/item/ItemTinyCoke.java new file mode 100644 index 0000000..59cb733 --- /dev/null +++ b/src/main/java/com/nomiceu/nomilabs/item/ItemTinyCoke.java @@ -0,0 +1,22 @@ +package com.nomiceu.nomilabs.item; + +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.EnumRarity; +import net.minecraft.item.ItemStack; +import net.minecraft.util.ResourceLocation; + +import org.jetbrains.annotations.NotNull; + +import com.nomiceu.nomilabs.util.LabsTranslate; + +public class ItemTinyCoke extends ItemBase { + + public ItemTinyCoke(ResourceLocation rl, CreativeTabs tab) { + super(rl, tab, EnumRarity.COMMON, 64, new LabsTranslate.Translatable("tooltip.nomilabs.tiny_fuels")); + } + + @Override + public int getItemBurnTime(@NotNull ItemStack stack) { + return 200; + } +} diff --git a/src/main/java/com/nomiceu/nomilabs/item/registry/LabsItems.java b/src/main/java/com/nomiceu/nomilabs/item/registry/LabsItems.java index 1bd9d62..8d31b33 100644 --- a/src/main/java/com/nomiceu/nomilabs/item/registry/LabsItems.java +++ b/src/main/java/com/nomiceu/nomilabs/item/registry/LabsItems.java @@ -191,6 +191,8 @@ public class LabsItems { public static ItemBase MAGNETRON; + public static ItemTinyCoke TINY_COKE; + public static ItemInfo INFO_ITEM; public static ItemBase PULSATING_DUST; diff --git a/src/main/java/com/nomiceu/nomilabs/item/registry/register/LabsMisc.java b/src/main/java/com/nomiceu/nomilabs/item/registry/register/LabsMisc.java index 1e696c3..a1f16aa 100644 --- a/src/main/java/com/nomiceu/nomilabs/item/registry/register/LabsMisc.java +++ b/src/main/java/com/nomiceu/nomilabs/item/registry/register/LabsMisc.java @@ -11,6 +11,7 @@ import com.nomiceu.nomilabs.item.ItemBase; import com.nomiceu.nomilabs.item.ItemInfo; import com.nomiceu.nomilabs.item.ItemSmore; +import com.nomiceu.nomilabs.item.ItemTinyCoke; public class LabsMisc { @@ -41,6 +42,8 @@ public static void initMisc() { MAGNETRON = createItem(new ItemBase(makeLabsName("magnetron"), LabsCreativeTabs.TAB_NOMI_LABS)); + TINY_COKE = createItem(new ItemTinyCoke(makeLabsName("tiny_coke"), LabsCreativeTabs.TAB_NOMI_LABS)); + // Custom model handling is in LabsItems INFO_ITEM = createItemWithoutModelHandling(new ItemInfo(makeLabsName("info_item"), EnumRarity.EPIC)); diff --git a/src/main/resources/assets/nomilabs/lang/en_us.lang b/src/main/resources/assets/nomilabs/lang/en_us.lang index f27bb5a..0035925 100644 --- a/src/main/resources/assets/nomilabs/lang/en_us.lang +++ b/src/main/resources/assets/nomilabs/lang/en_us.lang @@ -555,6 +555,7 @@ item.nomilabs.hand_framing_tool.desc4=If you wish to frame the tool in a Craftin item.nomilabs.hand_framing_tool.desc5=Then, once the tool is framed, right clicking any drawers in-world will frame them. item.nomilabs.hand_framing_tool.desc6=When right clicking any wood-type drawers in world, they will also be turned into framed drawers. +item.nomilabs.tiny_coke.name=Tiny Coke item.nomilabs.info_item.name=Information item.nomilabs.pulsatingdust.name=Pulsating Dust @@ -649,6 +650,8 @@ tooltip.nomilabs.info.ae2-stuff.3=§eAll Existing Items §l(including in Pattern tooltip.nomilabs.info.ae2-stuff.4=§eBlocks, and usages in Recipes,§r tooltip.nomilabs.info.ae2-stuff.5=§ehave been replaced by AE2 Interfaces.§r +tooltip.nomilabs.tiny_fuels=Smelts Exactly One Item in a Furnace! + # Multiblocks tooltip.nomilabs.microverse_projector_1.description=§8A machine capable of stabilizing projection into microverses for basic micro miner missions.§r tooltip.nomilabs.microverse_projector_2.description=§8An advanced machine capable of stabilizing projection into microverses for complex missions into the deepest parts of space.§r diff --git a/src/main/resources/assets/nomilabs/models/item/tiny_coke.json b/src/main/resources/assets/nomilabs/models/item/tiny_coke.json new file mode 100644 index 0000000..4878576 --- /dev/null +++ b/src/main/resources/assets/nomilabs/models/item/tiny_coke.json @@ -0,0 +1,6 @@ +{ + "parent": "item/generated", + "textures": { + "layer0": "nomilabs:items/tiny_coke" + } +} diff --git a/src/main/resources/assets/nomilabs/textures/items/tiny_coke.png b/src/main/resources/assets/nomilabs/textures/items/tiny_coke.png new file mode 100644 index 0000000..307bd43 Binary files /dev/null and b/src/main/resources/assets/nomilabs/textures/items/tiny_coke.png differ