Skip to content

Commit

Permalink
Add fading flame (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
IzzelAliz authored Jul 16, 2022
1 parent 2f93028 commit cfa955f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/teacon/nocaet/GarlicRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.level.block.Block;
import net.minecraft.world.level.block.RotatedPillarBlock;
import net.minecraft.world.level.block.SoundType;
Expand Down Expand Up @@ -79,5 +80,6 @@ private static void registerBuiltin() {
}

private static void registerFlames() {
ITEMS.register("fading_flame", ()-> new Item(new Item.Properties().tab(TAB).rarity(Rarity.UNCOMMON)));
}
}
3 changes: 3 additions & 0 deletions src/main/resources/assets/nocaet/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"block.nocaet.log_strip_light": "Lighted Log Strip",
"block.nocaet.log_strip_shadow": "Shadowed Log Strip",
"item.nocaet.elder_scroll": "Ancient Scroll",
"item.nocaet.fading_flame": "即将消逝的火",
"item.nocaet.fading_flame.clue": "前往初始之地寻求火焰吧。",
"item.nocaet.fading_flame.tooltip": "即将在风中消散的火焰,蕴含着微弱的力量,\n就算再微弱的火,也能点燃大树——\n所以,去收集更多的火焰吧。",
"itemGroup.nocaet": "noCaeT",
"nocaet.command.progress": "Set progress to %s",
"nocaet.flame.tooltip": "TeaCon 2022 Collections",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "nocaet:item/fading_flame"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/main/resources/data/nocaet/tags/items/flames.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"replace": false,
"values": [
"nocaet:fading_flame"
]
}

0 comments on commit cfa955f

Please sign in to comment.