Git Product home page Git Product logo

containrgui's Introduction

I wanna surf sea of the best code in the world. Join me or leave me. Also remember, no system is perfect and no system is perfectly safe. Do you think that you can't be better? Do you think that you've reached your best? Believe me, there is always something to improve...

Badge Badge Go Badge Java

| I'm 🍰 lover, and also...

  • 🔭 Freelancer in DevRoom, Candor Services, Devnics, Orbital Studios, Mixelate
  • 🥇 Owner of Trenend.eu Network (www.trenend.eu)
  • 🥇 Former owner of BattleLand.cz Network
  • 🕑 Code-lover since *A long time ago :D*
  • 🌐 Web: https://zortik.vercel.app

| My biggest projects

  • Player Housing (Cross-server system, Inspired from Hypixel.net, 2020)
  • Player Servers (Cross-server system, Players can create their own servers connected to large-scale Minecraft network, 2018)
  • Resolver Framework (Java Framework, Inspired from Spring Framework, used for manipulating Minecraft servers and services, 2021)
  • AdvancedSQLClient (Fast and extensible Java SQL library & ORM, 2022)
  • Locus Keeper (System, Used for dynamic management and generation of Minecraft servers within network, 2021)
  • GUIfy/Containr (Library, Used for creating in-game Minecraft GUIs, Big inspiration from Bootstrap Framework model, 2022)
  • AdvancedSQLClient (An Advanced SQL tool for Java with Json Integration!, 2022)
  • Network Duels (Cross-server system, 2019)
  • Trenend Minigames (Pack of systems and libraries, Used on Trenend.eu minigames portal, 2020)
  • Trenend The Pit (Single-server system, Minigame I've create with Speedy11CZ for Trenend.eu Network, 2020)
  • And other smaller projects and commissions - SkyBlock Core, GetDown, SkyWars & others

| Connect with me:

zortik_official zortikova oaza

zortik

 zortik

zortik

containrgui's People

Contributors

gennario avatar zortik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

containrgui's Issues

per-player element in the pattern gui

Hey, I want to create a pattern gui from configuration, but I want to add a element with itemstack, that depends on some player based conditions. Please add one of these options:

  1. create new pattern gui builder with per player build support
  2. create new Element builder with .item((player) -> {}) support
  3. add to the SimpletElementBuilder .item((player) -> {}) support

thanks... :)

In version 1.8.9 lib doesn't cancel player click

Server version: 1.8.8
Type: PaperSpigot

Elements seems like not working. I can drag them out of inventory and nothing is invoked at moment of the click.


public class TestMenu extends GUI {

    public TestMenu(String title) {
        super(title, 3);

    }

    @Override
    public void build(Player p) {
        getContainer().setElement(11, new TestElement());
    }

    public class TestElement extends Element {

        @Override
        public @NotNull QuadConsumer<GUI, Container, Player, ClickType> action() {
            return (gui, elements, player, clickType) -> {
                player.sendMessage("Hello!");
            };
        }

        @Override
        public @Nullable ItemStack item(Player player) {
            return Items.create(Material.MAGMA_CREAM, "§cTest", "§7Test test");
        }

    }

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.