Questions tagged [bukkit]
Bukkit is the name of a set of community built, open source tools envisioned and developed to ease the creation of SMP plugins. It was intended to replace hey0's Mod.
20 questions
1
vote
0
answers
66
views
How to make a Minecraft Villager walk to a Location?
For Minecraft, utilizing the Bukkit/Spigot API, I have a LivingEntity Villager that I would like to path, or "walk" to ...
1
vote
1
answer
113
views
How can I mod a Minecraft slime to be about the size of a full block?
I want to make the slime's size roughly the size of a full block,
I have tried some values but I'm not sure if any of those I tried fit the idea I have.
What would you recommend for the size of the ...
1
vote
1
answer
3k
views
Unsupported API version on Spigot 1.14 snapshot
I'm (trying to) develop a plugin for Spigot Minecraft 1.14.2. I have tried putting both api-version: 1.14.2 and ...
2
votes
1
answer
128
views
Server crashes waiting for BungeeCord response after Thread.sleep()
I would like to see how many players are connected in a server.
By the way, my Bukkit/Bungee messaging channel is set up like this:
...
2
votes
1
answer
88
views
How to distinguish multiple same element already in place on a minecraft map
I am currently working on a minecraft plugin using spigot.
It's a sort of a race between players where checkpoints validation is needed.
I have a minecraft map edited on MCEdit and I have severals ...
1
vote
1
answer
450
views
How to pass arguments with BungeeCord/Bukkit plugin messaging
I am trying to send a plugin message from Bukkit, to BungeeCord, but can not figure out how to send arguments.
Here is the code from the Bukkit plugin, which sends the message:
...
0
votes
1
answer
675
views
Why do I get this EventException in Bukkit? [closed]
Could any one tell me why I get the exception (and how to fix it):
Bukkit Plugin Couldn't pass Playerdeathevent to Plugin [org.bukkit.event.EventException]
with this code?
...
1
vote
1
answer
763
views
Bukkit Scheduler not in main Class
I want to make an Repeating Task whisch isn't in the main Class. ("Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new Runnable() {},20,20);")
But it says that it can't resolve the method.
0
votes
3
answers
233
views
Minecraft: Players Held Item Type
How can I check if a players held item is of a specific item type - for example an axe. (can be iron axe, gold axe, wooden axe, etc.)?
Or do I have to do multiple if statements to have this done?
<...
0
votes
1
answer
314
views
Bukkit - Loading chunks in a new world
I'm looking to make a large-scale PVP plugin. On a server network (MCBrawl), there is a game mode that spawns players in a world that I assume is randomly generated every time. I want to make ...
3
votes
1
answer
2k
views
Bukkit "Could not pass Event" error
I'm trying to make a bukkit plugin, which implements backpacks in the game if the player has the correct item (Enchanted Normal book with Efficiency 10 and Unbreaking 10, to be uncraftable).
I want ...
1
vote
1
answer
632
views
Minecraft Bukkit Rename world and use in Java Plugin
I run a Minecraft server (Bukkit 1.7.9) and would like to have a second overworld-like world, into which I can teleport players from my plugin.
I did some testing with the "world" folder:
tried to ...
4
votes
1
answer
220
views
Edit spawn location according to vector direction
I'm trying to make a turret in Bukkit (Java). This will shoot an arrow to the players that are in the shooting radius. But now I've a little problem, the arrow gets stuck inside the block where its ...
1
vote
0
answers
73
views
Java Angle Math: Calculate how near the player looks to an entity [duplicate]
I am programming a Minecraft Bukkit plugin and need a way to calculate an input number from 0 to 360 for displaying a custom compass / radar. So if the player directly looks at the object (shouldn't ...
1
vote
1
answer
1k
views
How can I get the entity a player is looking at in a Bukkit plugin?
I'm creating a wizardry plugin for Minecraft, and I was wondering how you would get the entity that a player was looking at, I know that you would have to use a ...