Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HideFlags for item and unbreakable #104

Open
wants to merge 6 commits into
base: rewrite
Choose a base branch
from

Conversation

matahombres
Copy link

https://minecraft.gamepedia.com/Tutorials/Command_NBT_tags

HideFlags

Add hideflag because when you go put into nbt you need sum the numbers.

Adding 1 will hide Enchantments
Adding 2 will hide Attributes modifiers
Adding 4 will hide Unbreakable
Adding 8 will hide CanDestroy
Adding 16 will hide CanPlaceOn
Adding 32 will hide Others, such as potion effects & shield pattern info

So you don't have to continually go to the wiki in case you don't know
The unbreakable is not absolutely necessary, but i also added it

https://minecraft.gamepedia.com/Tutorials/Command_NBT_tags
## HideFlags
Add hideflag because when you go put into nbt you need sum the numbers. 

Adding 1 will hide Enchantments
Adding 2 will hide Attributes modifiers
Adding 4 will hide Unbreakable
Adding 8 will hide CanDestroy
Adding 16 will hide CanPlaceOn
Adding 32 will hide Others, such as potion effects & shield pattern info

So you don't have to continually go to the wiki in case you don't know
The unbreakable is not absolutely necessary, but i also added it
https://minecraft.gamepedia.com/Tutorials/Command_NBT_tags
## HideFlags
Add hideflag because when you go put into nbt you need sum the numbers. 

Adding 1 will hide Enchantments
Adding 2 will hide Attributes modifiers
Adding 4 will hide Unbreakable
Adding 8 will hide CanDestroy
Adding 16 will hide CanPlaceOn
Adding 32 will hide Others, such as potion effects & shield pattern info

So you don't have to continually go to the wiki in case you don't know
The unbreakable is not absolutely necessary, but i also added it
@codeHusky
Copy link
Owner

I don't know what the purpose of this PR is.

Add:
- previewTextRewardCount -> Text RewardCount
- previewTextOccurrence  -> Text Occurrence
@matahombres
Copy link
Author

Only comfort.
Not the same:

nbt {
  HideFlags=5
}

that

hide_enchantments=true
hide_unbreakable=true

I consider it easier

@codeHusky
Copy link
Owner

While this is a useful addition, the way this is implemented is not incredibly clean, nor does it match the existing configuration options in terms of naming. This is a good idea though and I'll keep this open until either I implement this in form with the rest of the configuration, or this is tweaked to match the rest of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants