#Data get for an item on 1.8

1 messages · Page 1 of 1 (latest)

velvet wharf
#

Hi, I know that on 1.20 version I can use /data get entity @s SelectedItem, but on 1.8 , can not, someone can help me ?

lament wadi
#

you can't because Minecraft didn't have this command back then

velvet wharf
#

And how can i get the data for an item on 1.8

#

?

lament wadi
#

idk

velvet wharf
#

I kinda need for a menu

#

oh ok

lament wadi
#

what do you need exactly?

velvet wharf
#

Like this

#

w8

#
type: string equals
input: '%checkitem_nbtstrings:PublicBukkitValues..ecoitems:item=toroend,amt:8%'
output: 'yes'
#

this

lament wadi
#

I'm pretty sure PublicBukkitValues didn't exist until 1.14

velvet wharf
#

Oh,

#

So, I can not use that placeholder ?

lament wadi
#

I don't know how you set everything up, but with what you sent me, no you can't use that

velvet wharf
#

Oh, ok

velvet wharf
#

Hi, I tryed seomthing different

#

This should work, right ?

lament wadi
#

no

velvet wharf
#

Why no ?

lament wadi
#

you're using the remove placeholder

#

%checkitem_namecontains....%

#

don't use checkitem_remove

velvet wharf
#

a

#

left_click_commands:

#

here should i use

#

remove

#

?

lament wadi
#

yeah

velvet wharf
#

ok

#

ty

#
- '[placeholder] %checkitem_remove_namecontains:&cShard &7- &a#Mina - 2,lorecontains:+1 SHARD,CLAY_BALL,amt:1%'
#

like this, right ?

lament wadi
#

yeah

velvet wharf
#

On left click comm

#

and still doesnt works

lament wadi
#

rip

velvet wharf
#

😦

#
    left_click_requirement:
      requirements:
        hasitem:
          type: string equals
          input: '%checkitem_namecontains:&cShard &7- &a#Mina - 2,lorecontains:+1 SHARD,CLAY_BALL,amt:1%'
          output: 'yes'
          deny_commands:
          - '[close]'
          - '[message] &dFactions &8| &fNu ai suficiente shard-uri!'
        hasmoney:
          type: '>='
          input: '%vault_eco_balance_fixed%'
          output: 300000
          deny_commands:
          - '[close]'
          - '[message] &dFactions &8| &fNu ai suficienti bani'
    right_click_requirement:
      requirements:
        hasitem:
          type: string equals
          input: '%checkitem_namecontains:&cShard &7- &a#Mina - 2,lorecontains:+1 SHARD,CLAY_BALL,amt:1%'
          output: 'yes'
          deny_commands:
          - '[close]'
          - '[message] &dFactions &8| &fNu ai suficiente shard-uri!'
        hasmoney:
          type: '>='
          input: '%vault_eco_balance_fixed%'
          output: 300000
          deny_commands:
          - '[close]'
          - '[message] &dFactions &8| &fNu ai suficienti bani'
    left_click_commands:
      - '[console] lp user %player_name% permissiont set jetsprisonmines.blockbreak.mina2 true factions'
      - '[broadcast] &5&l%player_name% &7a cumparat accesul la &5&lLAST MINE !'
      - '[close]'
    right_click_commands:
      - '[placeholder] %checkitem_remove_namecontains:&cShard &7- &a#Mina - 2,lorecontains:+1 SHARD,CLAY_BALL,amt:1%'
      - '[console] lp user %player_name% permissiont set jetsprisonmines.blockbreak.mina2 true factions'
      - '[broadcast] &5&l%player_name% &7a cumparat accesul la &5&lLAST MINE !'
      - '[close]'
#

Thats the code, when some staff will read it pls

velvet wharf
#

?

velvet wharf
#

🥺

velvet wharf
#

🥺

silk badge
#

lorecontains:+1 SHARD,CLAY_BALL,

#

supposedly you meant to put lorecontains:+1 SHARD,mat:CLAY_BALL,

#

might be the reason, might not

velvet wharf
#

No f way

#

I didnt put MAT:

#

Thank you i ll try

velvet wharf
#

I ve tryed another method

#

if u could help me

#

this is right

#

'%checkitem_enchanted,mat:CLAY_BALL,amt:1'

#

Should be, right ?

silk badge
#

yes it should work

#

well actually you're missing a % at the end

velvet wharf
#

Something is weird ab

#

this version

#

cuz i tryed to put papi 2.11.4

#

And it doesnt works

#

and i tryed with an older vers

#

and it worked

#

any ideea why ?