Skip to content

Tag: minecraft

how to use a list in another class?

I want to create a list, add blocks to it and then use it in a BlockBreakEvent to check if the block is in the list and cancel the event if it’s not. But I can’t seem to create and add things in it any other way than in the actual event itself (which looks to me like it would

why does my sql table treat 1000 as a middle number?

When I try to sort by a value descending my SQL table does it correctly, but if it sees for example “1000” it always puts it in the middle? for Example: this even happens when I reference it in spigot (I’m using it for a plugin) it outputs it the same way this is how I’m calling it in …

Trying to get getView().getTitle() to work

I was first using only getTitle() for this but then found you need to use getView() as well. So i did but I stil can’t get it to work. FYI This is the error : Cannot resolve method ‘getView’ in ‘Inventory’ I tried changing getInventory() for InventoryView() but still the same err…

Errors with importing JavaPlugin to Eclipse

I want to make a plugin for Minecraft, but I have problem with importing JavaPlugin into Eclipse. When I type I get these 2 errors. I have tried restarting my computer, reinstalling Eclipse, downloading all over again but nothing works. I am sending a link to a screenshot. https://paste.pics/GHDFU Please help…