promotional bannermobile promotional banner

More NBT Tags [DATAPACK]

Adds new NBT Tags to make customization more easier!

File Details

More NBT_ [datapack] v1.1.0.zip

  • R
  • Nov 29, 2020
  • 26.33 KB
  • 34
  • 1.17

File Name

More NBT_ [datapack] v1.1.0.zip

Supported Versions

  • 1.17

v1.1.0 changelog
GENERAL
+ Moved all nbt readers to a subfolder.

NBT CHANGES
+ Changed up how text related nbt's are handled. everything has been moved inside "show_text" Note that some texts only except Raw JSON text formating https://minecraft.gamepedia.com/Raw_JSON_text_format examples:
clear: {show_text:{clear:{target:"@p"}}
say: {show_text:{say:{text:"shown text"}}}
tellraw: {show_text:{tellraw:{target:"@p",raw_text:'{"text":"shown text"}'}}}
title: {show_text:{title:{target:"@p",raw_text:'{"text":"shown text"}'}}}
subtitle: {show_text:{subtitle:{target:"@p",raw_text:'{"text":"shown text"}'}}}
actionbar: {show_text:{actionbar:{target:"@p",raw_text:'{"text":"shown text"}'}}}

+ add_mob_effect now needs a "target" String

+ "target" selectors now except "this". It will execute agenst the entity that is using the item.

+ "CustomModelData" tag has been moved inside "merge_data".

+ "decrement_stack" now excepts gamemode Array
Exsample: {decrement_stack:{gamemode:["survival","adventure"]}}

NEW NBT
+ added "merge_data" tag excepts some data. May add support for more_nbt's Custom tags.
example: {merge_data:{CustomModelData:{value:200}}}
Supported Data Tags:
- CustomModelData
- Damage
- HideFlags
- Unbreakable

+ added "play_sound" simply plays the sound. Only some sound events are supported. Custom sounds may not be supported.
Exsample: {play_sound:{target:"this",sound:"minecraft:entity.snowball.throw"}}

+ added "score" tag, right now you can only use the "score.test#" objectives. you can copy the "score.test#" score to your own. by using the command below. their is currently 10 test scoreboards. also note that "name" only supports "this"
Copy scoreboard:
scoreboard players operation @p <objective to paste to> = @p score.test#
Exsamples:
add: {score:{add:{name:"this",objective:"score.test0",amount:1}}}
set: {score:{set:{name:"this",objective:"score.test0",amount:10}}}
add: {score:{remove:{name:"this",objective:"score.test0",amount:1}}}

+ added "debugLog" tag, excepts a boolean statement when set to "true" it will tell you via chat what happened/what custom tag was used and any errors that happened. This tag is not inside "onUse" tag.
Exsample: {debugLog:1b}

+ added "damage" tag, will deal damage to the player. Their are 2 types "ARROW" and "EFFECT". Currently only supports "this" for target.
{damage:{type:"ARROW",amount:1d,target:"this"}}

+ added "reload" tag, will run /reload or /reload confirm if it is a modded server (Spigot, Bukkit, Paper, etc)
{reload:{confirm:true}}

EXPERIMENTAL NBT (experimental, may change)

+ added "structure" tag
right now you can change the settings of the structure. but not all are added.
You can change the following: ignoreEntities, seed, showair, showboundingbox, pos:[X,Y,Z], and size:[X,Y,Z]. Right now you cannot change the structure that is placed. is "more_nbt:test" for now. you need to have a "placement" filter added. This will decide where to center the structure, only "ON_PLAYER" works which will center around the player. I plan on adding another one called "ON_BLOCK" that will place on the block that the player has clicked on, although thats what the onUseOn would be.
exsample:
{structure:{placement:"ON_PLAYER",pos:[0,0,0]}}

+ added "throwable" tag
exsample:
egg: {throwable:{ammunition:{type:"minecraft:egg"}}}

This only supports stone item.
item: {throwable:{ammunition:{type:"minecraft:item",Count:16,id:"minecraft:stone"}}}

This only supports stone item.
Throwable potion item
{throwable:{ammunition:{type:"minecraft:item",Count:1,id:"minecraft:stone",Potion:{type:"minecraft:strong_leaping"}}}}}