This repository was archived by the owner on Mar 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
damascus #16
Open
FrostyFlippper
wants to merge
3
commits into
DaRealTurtyWurty:main
Choose a base branch
from
FrostyFlippper:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
damascus #16
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/io/github/darealturtywurty/ancientology/common/items/MjolnirItem.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| package io.github.darealturtywurty.ancientology.common.items; | ||
|
|
||
| import net.minecraft.client.gui.screens.Screen; | ||
| import net.minecraft.network.chat.Component; | ||
| import net.minecraft.network.chat.TranslatableComponent; | ||
| import net.minecraft.world.item.Item; | ||
| import net.minecraft.world.item.ItemStack; | ||
| import net.minecraft.world.item.TooltipFlag; | ||
| import net.minecraft.world.level.Level; | ||
|
|
||
| import javax.annotation.Nullable; | ||
| import java.util.List; | ||
|
|
||
| public class MjolnirItem extends Item { | ||
| public MjolnirItem(Properties pProperties) { | ||
| super(pProperties); | ||
| } | ||
|
|
||
| @Override | ||
| public void appendHoverText(ItemStack pstack, @Nullable Level plevel, | ||
| List<Component> pTooltipComponents, TooltipFlag pIsAdvanced) { | ||
| if (Screen.hasShiftDown()) { | ||
| pTooltipComponents.add(new TranslatableComponent("tooltip.ancientology.mjolnir")); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should really be a constant. Creating a new component every time this method is called, is very expensive. |
||
| } else { | ||
| pTooltipComponents.add(new TranslatableComponent("tooltip.ancientology.mjolnir.shift")); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as before, should be constant. |
||
| } | ||
| } | ||
| } | ||
28 changes: 28 additions & 0 deletions
28
src/main/java/io/github/darealturtywurty/ancientology/common/items/SchimitarItem.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| package io.github.darealturtywurty.ancientology.common.items; | ||
|
|
||
| import net.minecraft.client.gui.screens.Screen; | ||
| import net.minecraft.network.chat.Component; | ||
| import net.minecraft.network.chat.TranslatableComponent; | ||
| import net.minecraft.world.item.Item; | ||
| import net.minecraft.world.item.ItemStack; | ||
| import net.minecraft.world.item.TooltipFlag; | ||
| import net.minecraft.world.level.Level; | ||
|
|
||
| import javax.annotation.Nullable; | ||
| import java.util.List; | ||
|
|
||
| public class SchimitarItem extends Item { | ||
| public SchimitarItem(Properties pProperties) { | ||
| super(pProperties); | ||
| } | ||
|
|
||
| @Override | ||
| public void appendHoverText(ItemStack pstack, @Nullable Level plevel, | ||
| List<Component> pTooltipComponents, TooltipFlag pIsAdvanced) { | ||
| if (Screen.hasShiftDown()) { | ||
| pTooltipComponents.add(new TranslatableComponent("tooltip.ancientology.schimitar")); | ||
| } else { | ||
| pTooltipComponents.add(new TranslatableComponent("tooltip.ancientology.schimitar.shift")); | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,49 +1,74 @@ | ||
| { | ||
| //These errors don't affect the launching of the mod, if it causes an error for you open an issue in the github. | ||
|
|
||
| //Items | ||
| "item.ancientology.bronze_ingot": "Bronze Ingot", | ||
| "item.ancientology.bronze_nugget": "Bronze Nugget", | ||
| "item.ancientology.copper_nugget": "Copper Nugget", | ||
| "item.ancientology.tin_ingot": "Tin Ingot", | ||
| "item.ancientology.raw_tin": "Raw Tin", | ||
| "item.ancientology.tin_nugget": "Tin Nugget", | ||
| "item.ancientology.steel_nugget": "Steel Nugget", | ||
| "item.ancientology.steel_ingot": "Steel Ingot", | ||
| "item.ancientology.steel_blend": "Steel Blend", | ||
| "item.ancientology.damascus_ingot": "Damascus Ingot", | ||
| "item.ancientology.forbidden_fruit": "Forbidden Fruit", | ||
| //Blocks | ||
| "block.ancientology.bronze_block": "Block of Bronze", | ||
| "block.ancientology.tin_block": "Block of Tin", | ||
| "block.ancientology.deepslate_tin_ore": "Deepslate Tin Ore", | ||
| "block.ancientology.jumprasher": "Jumprasher", | ||
| "block.ancientology.life_leaves": "Leaves of Life", | ||
| "block.ancientology.life_log": "Log of Life", | ||
| "block.ancientology.life_planks": "Planks of Life", | ||
| "block.ancientology.life_sapling": "Sapling of Life", | ||
| "block.ancientology.tin_block": "Block of Tin", | ||
| "item.ancientology.bone_axe": "Bone Axe", | ||
| "item.ancientology.bone_boots": "Bone Boots", | ||
| "item.ancientology.bone_chestplate": "Bone Chestplate", | ||
| "item.ancientology.bone_dagger": "Bone Dagger", | ||
| "block.ancientology.jumprasher": "Jumprasher", | ||
| //Armor | ||
| "item.ancientology.bronze_helmet": "Bronze Helmet", | ||
| "item.ancientology.bronze_chestplate": "Bronze Chestplate", | ||
| "item.ancientology.bronze_leggings": "Bronze Leggings", | ||
| "item.ancientology.bronze_boots": "Bronze Boots", | ||
|
|
||
| "item.ancientology.bone_helmet": "Bone Helmet", | ||
| "item.ancientology.bone_hoe": "Bone Hoe", | ||
| "item.ancientology.bone_chestplate": "Bone Chestplate", | ||
| "item.ancientology.bone_leggings": "Bone Leggings", | ||
| "item.ancientology.bone_pickaxe": "Bone Pickaxe", | ||
| "item.ancientology.bone_shovel": "Bone Shovel", | ||
| "item.ancientology.bone_boots": "Bone Boots", | ||
| //Tools | ||
| "item.ancientology.bronze_axe": "Bronze Axe", | ||
| "item.ancientology.bronze_boots": "Bronze Boots", | ||
| "item.ancientology.bronze_chestplate": "Bronze Chestplate", | ||
| "item.ancientology.bronze_helmet": "Bronze Helmet", | ||
| "item.ancientology.bronze_hoe": "Bronze Hoe", | ||
| "item.ancientology.bronze_ingot": "Bronze Ingot", | ||
| "item.ancientology.bronze_leggings": "Bronze Leggings", | ||
| "item.ancientology.bronze_nugget": "Bronze Nugget", | ||
| "item.ancientology.bronze_pickaxe": "Bronze Pickaxe", | ||
| "item.ancientology.bronze_shovel": "Bronze Shovel", | ||
| "item.ancientology.bronze_hoe": "Bronze Hoe", | ||
| "item.ancientology.bronze_sword": "Bronze Sword", | ||
| "item.ancientology.copper_nugget": "Copper Nugget", | ||
|
|
||
| "item.ancientology.bone_axe": "Bone Axe", | ||
| "item.ancientology.bone_pickaxe": "Bone Pickaxe", | ||
| "item.ancientology.bone_shovel": "Bone Shovel", | ||
| "item.ancientology.bone_hoe": "Bone Hoe", | ||
| "item.ancientology.bone_dagger": "Bone Dagger", | ||
|
|
||
| "item.ancientology.flint_axe": "Flint Axe", | ||
| "item.ancientology.flint_dagger": "Flint Dagger", | ||
| "item.ancientology.flint_hoe": "Flint Hoe", | ||
| "item.ancientology.flint_pickaxe": "Flint Pickaxe", | ||
| "item.ancientology.flint_shovel": "Flint Shovel", | ||
| "item.ancientology.raw_tin": "Raw Tin", | ||
| "item.ancientology.tin_ingot": "Tin Ingot", | ||
| "item.ancientology.tin_nugget": "Tin Nugget", | ||
| "itemGroup.ancientology": "Ancientology", | ||
| "item.ancientology.forbidden_fruit": "Forbidden Fruit", | ||
| "item.ancientology.flint_hoe": "Flint Hoe", | ||
| "item.ancientology.flint_dagger": "Flint Dagger", | ||
|
|
||
| "item.ancientology.damascus_sword": "Damascus Sword", | ||
| "item.ancientology.mjolnir": "Mjolnir", | ||
| "item.ancientology.damascus_axe": "Damascus Axe", | ||
| "item.ancientology.scimitar": "Scimitar", | ||
| //Tooltips | ||
| "tooltip.ancientology.mjolnir.shift": "Hold §3SHIFT§3 §ffor more information", | ||
| "tooltip.ancientology.mjolnir": "The hammer of the god thor in Norse mythology (a weapon)", | ||
| "tooltip.ancientology.schimitar.shift": "Hold §3SHIFT§3 §ffor more information", | ||
| "tooltip.ancientology.schimitar": "A is a single-edged §6sword§6, §fassociated with Middle Eastern, South Asian or North African Cultures", | ||
| //Messages | ||
| "msg.ancientology.fruit_arrow_rain": "Heavenly arrows have come from above.", | ||
| "msg.ancientology.fruit_chance": "God has given you a second chance. Do not waste it.", | ||
| "msg.ancientology.fruit_give_bad_effect": "Sickness has befallen upon you. Don't disobey God.", | ||
| "msg.ancientology.fruit_give_good_effect": "You disobeyed God. You were not disappointed.", | ||
| "msg.ancientology.fruit_give_item": "You disobeyed God. You were not disappointed.", | ||
| "msg.ancientology.fruit_hunger": "God has stricken you with irony.", | ||
| "msg.ancientology.fruit_lightning": "You've invoked the wrath of God.", | ||
| "msg.ancientology.fruit_nether": "God has banished you to Hell." | ||
| } | ||
| "msg.ancientology.fruit_nether": "God has banished you to Hell.", | ||
| //Misc | ||
| "itemGroup.ancientology": "Ancientology" | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/damascus_axe.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/handheld", | ||
| "textures": { | ||
| "layer0": "ancientology:item/damascus_axe" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/damascus_ingot.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/generated", | ||
| "textures": { | ||
| "layer0": "ancientology:item/damascus_ingot" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/damascus_sword.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/handheld", | ||
| "textures": { | ||
| "layer0": "ancientology:item/damascus_sword" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/mjolnir.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/handheld", | ||
| "textures": { | ||
| "layer0": "ancientology:item/mjolnir" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/scimitar.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/handheld", | ||
| "textures": { | ||
| "layer0": "ancientology:item/scimitar" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/steel_blend.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/generated", | ||
| "textures": { | ||
| "layer0": "ancientology:item/steel_blend" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/steel_ingot.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/generated", | ||
| "textures": { | ||
| "layer0": "ancientology:item/steel_ingot" | ||
| } | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/ancientology/models/item/steel_nugget.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "parent": "minecraft:item/generated", | ||
| "textures": { | ||
| "layer0": "ancientology:item/steel_nugget" | ||
| } | ||
| } |
Binary file added
BIN
+802 Bytes
src/main/resources/assets/ancientology/textures/block/steel_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+548 Bytes
src/main/resources/assets/ancientology/textures/item/damascus_axe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+662 Bytes
src/main/resources/assets/ancientology/textures/item/damascus_ingot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+550 Bytes
src/main/resources/assets/ancientology/textures/item/damascus_sword.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+766 Bytes
src/main/resources/assets/ancientology/textures/item/steel_blend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+802 Bytes
src/main/resources/assets/ancientology/textures/item/steel_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+566 Bytes
src/main/resources/assets/ancientology/textures/item/steel_ingot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+441 Bytes
src/main/resources/assets/ancientology/textures/item/steel_nugget.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "replace": false, | ||
| "values": [ | ||
| "ancientology:bone_arrow", | ||
| "ancientology:bone_axe", | ||
| "ancientology:bone_boots", | ||
| "ancientology:bone_chestplate", | ||
| "ancientology:bone_dagger", | ||
| "ancientology:bone_helmet", | ||
| "ancientology:bone_hoe", | ||
| "ancientology:bone_leggings", | ||
| "ancientology:bone_pickaxe", | ||
| "ancientology:bone_shovel", | ||
| "ancientology:bone_spear" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "replace": false, | ||
| "values": [ | ||
| "ancientology:bronze_arrow", | ||
| "ancientology:bronze_axe", | ||
| "ancientology:bronze_boots", | ||
| "ancientology:bronze_chestplate", | ||
| "ancientology:bronze_dagger", | ||
| "ancientology:bronze_helmet", | ||
| "ancientology:bronze_hoe", | ||
| "ancientology:bronze_leggings", | ||
| "ancientology:bronze_pickaxe", | ||
| "ancientology:bronze_shovel", | ||
| "ancientology:bronze_spear" | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.