e.blockList()
use setMetaData() on block. and on break use getMetaData() from block So u would get some keys, which u can transform with some brain to new...
whats the trouble
private Main main; public MinorWandEventsclass(Main main) { this. main = main; main.getServer().getPluginManager().registerEvents(this, main); }...
Create own class which extend Event. And add some checks there... BlockBreakEvent cause of explosion maybe
Found own solution, but thanks anyway. NBTTagCompound nbt = NBTCompressedStreamTools.a((InputStream) (new FileInputStream(f))); NBTTagList pos =...
[IMG] How can i get this three doubles in playerdata file? NBTTagCompound pos = (NBTTagCompound) nbt.get("Pos"); NBTTagCompound rotation =...
try { NBTTagCompound nbt = NBTCompressedStreamTools.a((InputStream) (new FileInputStream(inventoryFile))); NBTTagList inventory = (NBTTagList)...
Finally done, but my code is too complicated)
Okay i got the NBTBase of in, but it prints empty line...[IMG] okay i got progress[ATTACH] how to transform it xD
What is unknown in words "player data file"
I need player inventory which is not known by my plugin. Maybe i would need inventory of player who played 2 years ago last time
I got the file and inv to put my result in. File inventoryFile = new File(getServer().getWorldContainer() + getConfig().getString("world-i-need")...
I sent you a code, try it. Maybe send all the class so we can look for all the fileds and methods you use.
use LeaveVehicle event
Separate names with a comma.