Nonono, we are not here to spoonfeed you, we are only gonna help you. But in the end, you need to write it yourself. [MEDIA] to 1min.
First thing to do: Make a simple inventory ;)
Just use the WeatherChangeEvent, and then cancel it.
Google it, it's your best friend. We aren't here to spoonfeed you ;)
Also check if the sender is a Player and not the console ;)
@AdamQpzm my field are public so I was able to acces them from an another class @Zombie_Striker sight...
I don't think that is possible srry, can't help you with that :(
With the EntityDamageEvent maybe?
Okay, overlooked my code, yeah it was a bit of a mess. But what do you think of this @AdamQpzm? My new commands.java package...
@Zombie_Striker please help me out, come on man :( BUMP EDIT by Moderator: merged posts, please use the edit button instead of double posting.
People who come after me: @TheGaminChimp needs to know what the spawner type is and the store that in a hashmap.
@BizarrePlatinum http://postimg.org/image/4g395qvqb/
@TheGaminChimp Okay, give me what you have coded so far...
@BizarrePlatinum Yup, already found that. Here is the new code on commands: package me.Just_Jitse.Server; import org.bukkit.command.Command;...
A haspmap can be used in many different ways, you could put the UUID of the player in the hashmap and which kind of spawner it is. If the UUID...
A hashmap works with a datavalue and a key, if you put the key in it the other value rolls together with it out. Like this (example):...
Try to store the Date of which mobspawner it is something like a hashmap<Material, Data>
@Zombie_Striker I have had a look at the error log but it sais this: org.Bukkit.craftbukkit.w1_8_R3.command.ColouredConsoleSender cannot be cast...
@raymart23 @mine-care indeed ;)
@raymart23 I think they aren't going to do that, then they would be spooning feed :/
Separate names with a comma.