Skip to content

Item UUID Randomizer #2016

Description

@Danieljunek17

Hey, I have some problems regarding your item randomizer

private GuiItem(@NotNull ItemStack item, @Nullable Consumer<InventoryClickEvent> action, @NotNull Logger logger, @NotNull NamespacedKey key) {
    this.uuid = UUID.randomUUID();
    this.logger = logger;
    this.keyUUID = key;
    this.action = action;
    this.visible = true;
    this.properties = new ArrayList();
    this.item = item;
    this.applyUUID();
}

this constructor always adds an id to an item but in my case I really don't want this beause people can interact with this menu and this makes it so seemingly 2 blocks that are the same are not so they can't stack them and strict checks for removing an item out of a list won't work either.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions