I'm not sure if I'm understanding you entirely, but if you are just trying to control portal creation, wouldn't a PortalCreateEvent be better?...
@mine-care I tried swapping them, but the condition still returned false. Also, I used JavaDecompiler to decompile the TileEntityBeacon class...
@mine-care I did try looping through the fields to see what was there with this: for (Field field : beacon.getClass().getFields()) {...
I have been trying to find a way to get the selected effects in a beacon. There is no way to hook to it through the Bukkit API, so I tried...
I'm pretty sure a DMCA takedown happened. Am I right?
If there is going to be a value right away, use getConfig().set(target.getName() + ".somField", value) instead. Also, it could just be that you...
You could still easily get it just by checking a HashMap against the block from the arrow event.
Its because you are saving the slot number as a String object in the config, so browser.getInt() always returns 0. You need to use...
I don't know if this is why, but setData() is deprecated. You may want to go through BlockState to set the data value.
Why not the previous HashMap storage method? And you can't use lore on blocks.
You have to be careful with that. I might be wrong, but changing a head block's meta might change the head type.
If you just set both variables to the same block instance, its just that, the same instance. You have to clone the instance in order to get them...
You said you tried PingAPI right? And there is nothing wrong with using an API. It is pointless to reinvent the wheel.
Oh yeah, forgot that MC throttles hits. You could set up a system that adds both methods.
The ProtocolLib hook is the setupListener() method in the Main.java class. Also, this is probably relevant :P:...
Separate names with a comma.