VirtualChest - Provide virtual chest GUIs for menus like ChestCommands


#103

Just refer to the Minecraft Wiki for finding which tag is used for display names. The solution for what you said may be like this:

UnsafeData {
  display {
     Name = "Copper Ore"
  }
}

#104

@SykoUSS @hellbringer616 Currently it is not possible because it is not compatible with what VC is currently design for.

The design principle of VC is actually not considering the player’s inventory. It is only focused on the (virtual) chest GUI itself, and the item held by the cursor. VC has added the SearchInventory option to newer versions, but this feature is just like a patch, which allows VC to search the player’s inventory and find if there are items that match, and submit the action as if the items are held by the cursor. Therefore, the current design principle cannot support multiple items at once, because you cannot hold multiple types of items on only one cursor at all.

However, this is a very useful design and I will consider add support in the future.


#105

Solution?


#106

You need to add more to the sprite. As I see you’re just calling the sprite but not the specific one for that pokemon


#107

I’m specifying for the slot 1 sprite, U understand?


#108

Like Khaoz Example


#109

Ah yeah I see. Are you updated with the latest placeholders and such?


#110

iirc You can use %party_1_% now too


#112
    SpriteName = "%party_1_texturelocation%"

Dont work


#113

PlaceholderAPI-4.5.1


#114

What about pixelmon placeholders version?


#115

A new version has been released for VirtualChest, it is available for download here.


  • Added ByteItems support (thanks to #82)
  • Fixed that format codes are dropped in display texts (#84)
  • Solved a potential thread safety issue occurred when actions are submitted

#116

A new version has been released for VirtualChest, it is available for download here.


  • Added ByteItems support (thanks to #82)
  • Fixed that format codes are dropped in display texts (#84)
  • Solved a potential thread safety issue occurred when actions are submitted
  • Change version number from v1.0.0-rc-2 to v1.0.0-rc-3 to make ore happy

#117

The player can only buy the item, with the amount determined?
Example: If he wants to buy 32 but only has 64 configured and he has the money to buy 32 he can not?


#118

hey, if i wanted to use the Unbreakable nbt data or other nbt datas how would i do it?


#119

@_InfinityMC If what you want to set is Unbreakable only, just set the Unbreakable to true like this and it should work properly:

Item {
    Count = 1
    ItemType = "minecraft:diamond_sword"
    UnsafeDamage = 0
    Unbreakable = true
}

If you want to customize nbts, just consider the UnsafeData part of your configuration: https://github.com/ustc-zzzz/VirtualChest/wiki/3-Slots-And-Requirements#the-unsafedata-attribute


#120

@iPoox_Edition Please refer to the RepetitionUpperLimit field: https://github.com/ustc-zzzz/VirtualChest/wiki/3-Slots-And-Requirements#the-repetitionupperlimit-field


#121

Is it possible to have a menu pop up when they click a entity? Like a villager?


#122

Hello,

Is there anyway to set it up where it requires a specific item from someones inventory. When I say specific, I know that you can require items, but like a specific ItemName and ItemLore.

Thanks!


#123

In this version support for ByteItems was added.

First run /byteItems save <your-id> with your item in hand, then modify the VirtualChest config like so

Item {
    ItemType = "byte-items:your-id"
}