Skip to content

Commit

Permalink
- Added Eternal Gray Tools
Browse files Browse the repository at this point in the history
- Added a new item

- Changed Rods from basiItem to handHeldItem

- Added Tags for the new Tools

- Added Integer.MAXVALUE to these new tools

- The Tools are uncraftable and they will stay like that
  • Loading branch information
RadzRatz committed Oct 29, 2024
1 parent a7771b4 commit 19b48dc
Show file tree
Hide file tree
Showing 50 changed files with 373 additions and 76 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// 1.21.1 2024-10-24T23:29:43.4982989 Tags for minecraft:item mod id eternalitems
// 1.21.1 2024-10-28T23:24:12.7998786 Tags for minecraft:item mod id eternalitems
e39f2565420ac7a956dbcdddb43d200c2b302ab0 data/bone_tools/tags/item/bone_tools.json
d80f832439499a9bb0ec5128281948334b5a2e44 data/copper_tools/tags/item/copper_tools.json
422a17b3dc89d7a8c9698d40a61c38016b6324c3 data/eternal_dark_tools/tags/item/eternal_dark_tools.json
489dda497aaa9bbaeab525b9f87d8cf4d661cd8e data/eternal_gray_tools/tags/item/eternal_gray_tools.json
e0b89fbdf6630d519b334279059cac8266dacaa9 data/hammers/tags/item/hammers.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// 1.21.1 2024-10-26T18:06:50.1722221 Item Models: eternalitems
// 1.21.1 2024-10-28T23:24:12.7938779 Item Models: eternalitems
f8b4dc9c72f694edafd5a8dfc6923f2eb1eb1761 assets/eternalitems/models/item/aluminum_dust.json
02c83395e9f13183b3f678e7dca5cd980e623572 assets/eternalitems/models/item/aluminum_ingot.json
dadf922c6870a58f314f1653d3a4c8b6504f6e34 assets/eternalitems/models/item/aluminum_nugget.json
Expand Down Expand Up @@ -43,6 +43,7 @@ c65659a75b5d30335115270d74ca7a74a3d294a3 assets/eternalitems/models/item/ender_d
c18c99e725df757cef08a0bf898314e37ce764be assets/eternalitems/models/item/eternal_dark_pickaxe.json
648aaf050776b63845514e762d21a9dfad9bd924 assets/eternalitems/models/item/eternal_dark_sword.json
869ec02392532238e1b3c58f16e7bf035a43f2eb assets/eternalitems/models/item/eternal_light_ingot.json
62720323695e7516ff4e80f921e8a772c4d1bc8c assets/eternalitems/models/item/eternal_light_sword.json
a47b132b9e6031deed22ac4577b9649ec33350e4 assets/eternalitems/models/item/eternal_vortex.json
8d3a48e07a4828acbfa0d0e45b8027065b3b914b assets/eternalitems/models/item/fang.json
ffd33d64cc748604424e0ea885d9b2477e627fed assets/eternalitems/models/item/flathead_screwdriver.json
Expand All @@ -69,6 +70,7 @@ f0f2a302557bdbaa596f08bf88b37eabb6936855 assets/eternalitems/models/item/lead_nu
eeb7d16f100b7cc16a600d8b736e9a2420e6c635 assets/eternalitems/models/item/lumium_dust.json
494c934880a42ab5a229b441a159fdc87cf89487 assets/eternalitems/models/item/lumium_ingot.json
c12d49ce0e3efafd48821ef8372e5e86558cfc90 assets/eternalitems/models/item/lumium_nugget.json
e722bcf7ed9d5515b6e55721c7b326f9139fa4c2 assets/eternalitems/models/item/meteorite_chunk.json
545843a422642167fbe5200b9fa1f6d474b17505 assets/eternalitems/models/item/multipress.json
11aa31f6fa3176897424b39dee60b1ef73719380 assets/eternalitems/models/item/nickel_dust.json
27adc3e9dbd855a8dd2b7b01e965275f5d6c02da assets/eternalitems/models/item/nickel_ingot.json
Expand Down Expand Up @@ -116,26 +118,26 @@ c78c379282cf69af3f539fa73349598f634bcf7a assets/eternalitems/models/item/raw_sil
b967a30688328fb2e098b075034afbcfa20e8fef assets/eternalitems/models/item/raw_uranium.json
017e9fdf1e14ce97b80943f574cae258c0c798be assets/eternalitems/models/item/raw_zinc.json
014c0ffa141276718d3b520f6bb287234a3057aa assets/eternalitems/models/item/redstone_ingot.json
6efd3c132eeb197c16a581a262712865906542a0 assets/eternalitems/models/item/rod_aluminum.json
49972761ae3a4e631b45705586731aebf495204f assets/eternalitems/models/item/rod_bronze.json
f9490611d317b6053e46f6719d2ac5baaf187537 assets/eternalitems/models/item/rod_cobalt.json
fb494ae3cfdafaf1fea321f84c0f8981b35d94f3 assets/eternalitems/models/item/rod_copper.json
b2aacdecea7c25ba145ec0e63c4be4ceae64fe4b assets/eternalitems/models/item/rod_electrum.json
36a1ea123ac6bcb7ef7d399bd8719d9ec53b6cf4 assets/eternalitems/models/item/rod_enderium.json
6aaad5a6ad8eb1364fdee1a24a63951251e034c5 assets/eternalitems/models/item/rod_gold.json
084d88bd49a5639f16b461e55f36a132ab50d513 assets/eternalitems/models/item/rod_invar.json
73d89206094ddef84163341cc6846b44815435d7 assets/eternalitems/models/item/rod_iron.json
9042a322ef0ae3938ebeed39aaf1cf7c1e0f68ad assets/eternalitems/models/item/rod_lead.json
46f4c452dee083a9d533dccac67f35b08822dadc assets/eternalitems/models/item/rod_lumium.json
8087b7c6c8acf6f5da7c0cedcf7dd546aacf5b40 assets/eternalitems/models/item/rod_nickel.json
a652b9f23c0861d5ab10cd04d42347eb286a8710 assets/eternalitems/models/item/rod_osmium.json
a5b2fb75761dc74875b5f66c54f4254ede8a9adc assets/eternalitems/models/item/rod_platinum.json
5d820a96bffd742e95eb2dd5d4e9ba35b62c042d assets/eternalitems/models/item/rod_plutonium.json
5763cb2277fa830c2953cce57e86453a670b35de assets/eternalitems/models/item/rod_signalum.json
a1f1191eea1f621d6ccb38a663318f81e57a0e50 assets/eternalitems/models/item/rod_tin.json
b197486284274198f775678f1e18f83377745955 assets/eternalitems/models/item/rod_ultimatitanium.json
5c4f10c83eddb927a8526b6e75defa5c068f07bf assets/eternalitems/models/item/rod_uranium.json
132e8cfedd2928c9c336ab4182fc2508b6eb38f1 assets/eternalitems/models/item/rod_zinc.json
73a8e9a0f56abcf4a4f9b274e1c68cee9e0ba772 assets/eternalitems/models/item/rod_aluminum.json
282670eeb2a1eca53a71c0729dfbda0b176af831 assets/eternalitems/models/item/rod_bronze.json
733e20dcbe7546e062df16debaa5b6ce09760bab assets/eternalitems/models/item/rod_cobalt.json
ce9ffb917579926b50db8758e782566ff26cc4d4 assets/eternalitems/models/item/rod_copper.json
3ce22b202338c7e8adbedf55fe4380c6e24ecd4c assets/eternalitems/models/item/rod_electrum.json
fc62e8be9895d4617d7a271070464dd9fca41a7f assets/eternalitems/models/item/rod_enderium.json
4dd21909c20e796cd5cf91ac4d6a09c0aa886705 assets/eternalitems/models/item/rod_gold.json
9800260e20a29748161e7a389136908b3ee00e07 assets/eternalitems/models/item/rod_invar.json
99dcde8d696755c48888408b6faaf0147a429189 assets/eternalitems/models/item/rod_iron.json
b471f4b33e89b803631165b49e1862c0d821db88 assets/eternalitems/models/item/rod_lead.json
44f31c9912be4870789d58f8d7bccbbfe63a8bce assets/eternalitems/models/item/rod_lumium.json
411dde6eba8038dc76ef594ca73ee150b4087254 assets/eternalitems/models/item/rod_nickel.json
beae75f974e0bd7ec59ccb327232ba7937c7d98b assets/eternalitems/models/item/rod_osmium.json
1a262b6e45a0034b71b5e79dbac74a1e29e002e9 assets/eternalitems/models/item/rod_platinum.json
611af8d88747ab49d1afd5aeea343ec570814da3 assets/eternalitems/models/item/rod_plutonium.json
3c12f35cefa41ec3395d60597650ad3a8805f717 assets/eternalitems/models/item/rod_signalum.json
d633e0eb179d85dc5bd870b1db1dbb2c86ceecca assets/eternalitems/models/item/rod_tin.json
6aaaa258c8cd8b53ecbcaaa3c79d625f1e21648c assets/eternalitems/models/item/rod_ultimatitanium.json
efddd8199cdadf6d0e7745e52002902ac82cee5e assets/eternalitems/models/item/rod_uranium.json
74f9ea99f08fbe39f781a0f8b59b4afabf5b6a2c assets/eternalitems/models/item/rod_zinc.json
2fecff70dcc63c99e7beda1ca9746b9cb95dac32 assets/eternalitems/models/item/seraphims_feather.json
9a8d547f5cb59ba78753f894367932b8548ff149 assets/eternalitems/models/item/signalum_dust.json
cefae4101e81c53c57b6fdfde6a75ae489d1d19f assets/eternalitems/models/item/signalum_ingot.json
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/eternal_light_sword"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "minecraft:item/generated",
"textures": {
"layer0": "eternalitems:item/meteorite_chunk"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_aluminum"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_bronze"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_cobalt"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_copper"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_electrum"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_enderium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_gold"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_invar"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_iron"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_lead"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_lumium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_nickel"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_osmium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_platinum"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_plutonium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_signalum"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_tin"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_ultimatitanium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_uranium"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"parent": "minecraft:item/generated",
"parent": "minecraft:item/handheld",
"textures": {
"layer0": "eternalitems:item/rod_zinc"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"values": [
"eternalitems:eternal_gray_sword",
"eternalitems:eternal_gray_axe",
"eternalitems:eternal_gray_pickaxe",
"eternalitems:eternal_gray_shovel",
"eternalitems:eternal_gray_scythe"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ protected void registerModels() {
basicItem(Moditems.SILICON.get());
basicItem(Moditems.DRAGONS_SCALE.get());
handheldItem(Moditems.WRENCH);
basicItem(Moditems.METEORITE_CHUNK.get());
//FOODS
basicItem(Moditems.COOKED_APPLE.get());
basicItem(Moditems.COOKED_CARROT.get());
Expand Down Expand Up @@ -133,26 +134,26 @@ protected void registerModels() {
basicItem(Moditems.URANIUM_DUST.get());
basicItem(Moditems.ZINC_DUST.get());
//RODS
basicItem(Moditems.ROD_ALUMINUM.get());
basicItem(Moditems.ROD_BRONZE.get());
basicItem(Moditems.ROD_COBALT.get());
basicItem(Moditems.ROD_COPPER.get());
basicItem(Moditems.ROD_ELECTRUM.get());
basicItem(Moditems.ROD_ENDERIUM.get());
basicItem(Moditems.ROD_GOLD.get());
basicItem(Moditems.ROD_INVAR.get());
basicItem(Moditems.ROD_IRON.get());
basicItem(Moditems.ROD_LEAD.get());
basicItem(Moditems.ROD_LUMIUM.get());
basicItem(Moditems.ROD_NICKEL.get());
basicItem(Moditems.ROD_OSMIUM.get());
basicItem(Moditems.ROD_PLATINUM.get());
basicItem(Moditems.ROD_PLUTONIUM.get());
basicItem(Moditems.ROD_TIN.get());
basicItem(Moditems.ROD_SIGNALUM.get());
basicItem(Moditems.ROD_ULTIMATITANIUM.get());
basicItem(Moditems.ROD_URANIUM.get());
basicItem(Moditems.ROD_ZINC.get());
handheldItem(Moditems.ROD_ALUMINUM);
handheldItem(Moditems.ROD_BRONZE);
handheldItem(Moditems.ROD_COBALT);
handheldItem(Moditems.ROD_COPPER);
handheldItem(Moditems.ROD_ELECTRUM);
handheldItem(Moditems.ROD_ENDERIUM);
handheldItem(Moditems.ROD_GOLD);
handheldItem(Moditems.ROD_INVAR);
handheldItem(Moditems.ROD_IRON);
handheldItem(Moditems.ROD_LEAD);
handheldItem(Moditems.ROD_LUMIUM);
handheldItem(Moditems.ROD_NICKEL);
handheldItem(Moditems.ROD_OSMIUM);
handheldItem(Moditems.ROD_PLATINUM);
handheldItem(Moditems.ROD_PLUTONIUM);
handheldItem(Moditems.ROD_TIN);
handheldItem(Moditems.ROD_SIGNALUM);
handheldItem(Moditems.ROD_ULTIMATITANIUM);
handheldItem(Moditems.ROD_URANIUM);
handheldItem(Moditems.ROD_ZINC);
//PLATES
basicItem(Moditems.PLATE_ALUMINUM.get());
basicItem(Moditems.PLATE_BRONZE.get());
Expand Down Expand Up @@ -184,6 +185,7 @@ protected void registerModels() {
handheldItem(Moditems.COPPER_HOE);
//SWORDS
handheldItem(Moditems.ETERNAL_DARK_SWORD);
handheldItem(Moditems.ETERNAL_LIGHT_SWORD);
handheldItem(Moditems.COPPER_SWORD);
handheldItem(Moditems.BONE_KNIFE);
//GEMS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,12 @@ protected void addTags(HolderLookup.@NotNull Provider provider) {
tag(ModTags.Items.ETERNAL_DARK_TOOLS)
.add(Moditems.ETERNAL_DARK_PICKAXE.get())
.add(Moditems.ETERNAL_DARK_SWORD.get());

tag(ModTags.Items.ETERNAL_GRAY_TOOLS)
.add(Moditems.ETERNAL_GRAY_SWORD.get())
.add(Moditems.ETERNAL_GRAY_AXE.get())
.add(Moditems.ETERNAL_GRAY_PICKAXE.get())
.add(Moditems.ETERNAL_GRAY_SHOVEL.get())
.add(Moditems.ETERNAL_GRAY_SCYTHE.get());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class ModCreativeModeTabs {
output.accept(Moditems.FLATHEAD_SCREWDRIVER);
output.accept(Moditems.GODS_TEAR);
output.accept(Moditems.GREGTASTIC_ATOMIC_PHD);
output.accept(Moditems.METEORITE_CHUNK);
output.accept(Moditems.RATZ_HEAD);
output.accept(Moditems.SILICON);
output.accept(Moditems.SERAPHIMS_FEATHER);
Expand Down Expand Up @@ -77,6 +78,8 @@ private static void addAE2ItemsToTab(CreativeModeTab.Output output) {
output.accept(Moditems.BONE_KNIFE);
output.accept(Moditems.COPPER_SWORD);
output.accept(Moditems.ETERNAL_DARK_SWORD);
output.accept(Moditems.ETERNAL_LIGHT_SWORD);
output.accept(Moditems.ETERNAL_GRAY_SWORD);
}).build());

//TOOLS
Expand All @@ -93,6 +96,10 @@ private static void addAE2ItemsToTab(CreativeModeTab.Output output) {
output.accept(Moditems.DIAMOND_HAMMER);
output.accept(Moditems.ETERNAL_DARK_HAMMER);
output.accept(Moditems.ETERNAL_DARK_PICKAXE);
output.accept(Moditems.ETERNAL_GRAY_AXE);
output.accept(Moditems.ETERNAL_GRAY_PICKAXE);
output.accept(Moditems.ETERNAL_GRAY_SHOVEL);
output.accept(Moditems.ETERNAL_GRAY_SCYTHE);
output.accept(Moditems.IRON_HAMMER);
output.accept(Moditems.STONE_HAMMER);
}).build());
Expand Down
Loading

0 comments on commit 19b48dc

Please sign in to comment.