Posted April 21, 20169 yr I really need help making this plugin work since i've tried different stuff but i doesnt work so i need some help in making a sword shoot fireballs when you right click. Please help me I would really appreciate it if you do. I will also give you credit on helping me on the plugin. I just need help making a sword shoot a fireball when right clicking the sword.
April 21, 20169 yr I guess that you are trying to make a bukkit / spigot server Plugin. This is not the correct forum for that. A good place to start would be: https://www.spigotmc.org/wiki/spigot-plugin-development/ In order to make your plugin you would have to register an event that fires when a player uses a sword. That event would spawn a fireball entity and launch it into the direction the player is looking. If you need help coding that plugin go here: https://www.spigotmc.org/forums/spigot-plugin-development.52/ Good luck! PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.
April 21, 20169 yr Making it in forge is 100% possible. Mark your @Mod with: acceptRemoteVersions = "*" serverSideOnly = true Use @SubscribeEvent on ItemUseEvent (idk naming) - check if you are holding some sword and call World#spawnEntityInWorld to spawn fireball entity. Examples on how to can be found in code (you want to use constructor with player param). 1.7.10 is no longer supported by forge, you are on your own.
April 24, 20169 yr Hey Ernio I am currently making a 1.7.10 mod and i want to make a wand that actually shoots fireball like the sword creeperking1_1 mention but i am currently confused so can you please pm me the code
April 25, 20169 yr Hey Ernio I am currently making a 1.7.10 mod and i want to make a wand that actually shoots fireball like the sword creeperking1_1 mention but i am currently confused so can you please pm me the code https://github.com/Draco18s/Artifacts/blob/master/main/java/com/draco18s/artifacts/components/ComponentFireball.java#L66-L78 The class isn't an Item class, but it utilizes the same methods. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.