ok Thank you! Ill test it now to see if it works. Like this correct? @EventHandler public void onReverser(EntityDamageByEntityEvent e){...
So should it look like this Gater12 @EventHandler public void onReverser(EntityDamageByEntityEvent e){ Snowball snow = (Snowball)...
I am new to coding so let me ask this, what is unchecking casting? I thought I fixed it by casting Location but you guys say I didnt so I should...
Oh fail lol This is what I have now but it says there is an error with the teleport. @EventHandler public void...
Hello! I am trying to code the kit switcher which most are familiar with. What I want to ask though is why will it not teleport the players here...
Hello! I am trying to create a method whereas every minute the player with the Atlatl kit selected is given 1 arrow and it caps off at 10, meaning...
Sorry, I have no idea what I was thinking XD Ive never dealt with multiple args in a command because I am also fairly new to coding but learning...
Ok haha. As long as you got it solved, thats all I care about XD MinecraftMart
I havent built a msg plugin but personally I would have to believe it would be something like args > 0 or something like that. It might be...
//You need to "classify the entity as the shooter so if (e.getEnitity().getShooter() instance of Player){ //Other code for if it is true }...
Hi! I am trying to figure out how to apply the weakness potion effect to the player the arrow of the kit atlatl had hit. In other words, I want...
Ok, I read that article so maybe I should ask this. Is what I am suppose to do involving .setMetadata()? Or does it use something else? Gater12...
So should it look something like this? I am so sorry if its really easy and I am just completely missing it XD Arrow arrowdata = (Arrow)...
Sweet! I got velocity to work but I have never added metadata to an entity before. I have to an ItemStack but not an entity like an arrow. This is...
Also, if it is a vehicle like a boat that when it hits a block at a high speed it breaks, you need to make sure it doesnt break by cancelling that...
Hello! I have successfully made the first part of my kit Atlatl. It shoots the arrow somewhat well (I would like to increase the velocity/distance...
Hi! I am fairly new to coding and I am getting better every time I code. The thing is, I am not always 100 percent correct in my coding. I am...
Hello! I am creating a new kit for my server! The name of the kit is Atlatl. Basically it allows the player to rightclick their arrows/spears and...
I am making a kit called Reverser. Its a remake of the kit switcher. For what ever reason, this code is not working and I am confused why it wont....
This is what It looks like now but on the section where it says ".getServer()" it is underlined in red and says "The method getServer() is...
Separate names with a comma.