Try the EntityDamageByEntityEvent :)
McMhz Uhm, as I mentioned above I'm trying to create such kind of "data blocks" I've seen in different plugin configs.. I only know how to add a...
bump Any idea how to fix that error from my last post? ):
I just created a class called "WorldClass" for testing, made an instance and saved it to the config file, where it looks like this: Sadly it...
The Gaming Grunts As I said above, it's not my original wish to save objects in to a config file - I'm just trying to create some kinds of "data...
fireblast709 An instance of a class e.g.? If there's another way how to create data blocks in the config file, just tell me =)
I've seen some kind of blocks of data in different configs, for example: world1: data1: one data2: two data3: three Is this just a saved...
Hey there, I wanna get (e.g.) the data values of logs, but getData() is deprecated now. Are there any alternatives? Thanks in advance
Xheory I added this, but it won't change anything. The strange thing is, if i directly put "ยง3Notch" into the mobName String it'll work. But if I...
Heya, I wanna give custom names to my entities, which are specified in the config file as a list. That's the code: List<String> nameList = new...
What about using "getTargetBlock" on Living Entities for this?
Noxyro Thanks for your answer, but this won't change the effect of infinite failed spawnings. Also you're right, cancelling the event would result...
Hey there, I'm trying to disable entity spawn on different worlds. It's quite easy - theoretical: public void...
I just used the wrong forum, I'm sorry. This can be deleted. =(
That was quite easy... Thanks!
Hey there, on the CreatureSpawnEvent I'm doing this: public void dropEq (float dropChance, LivingEntity entL, String armor){...
Jensui Great work you're doing on here, keep on it! I really like the solid and professional style of your logos and would appreciate it, if you...
Tirelessly Ahhh, I guess I've got it now! So three times 58% chances result in 20% chance for 3 books, now I've got that! Thanks a lot!!
Tirelessly I'm sorry, I still can't get the point of that, feeling kinda dumb. )= In your loop it's just "if (random <= 0.58)" three times, isn't...
Tirelessly Uhm, isn't that right? I mean, on the first run it has a 58% chance of adding one book, on the second run it has a 34% chance of adding...
Separate names with a comma.