Jump to content

Scorpyon04

Members
  • Posts

    18
  • Joined

  • Last visited

  • Days Won

    1

Scorpyon04 last won the day on November 15 2023

Scorpyon04 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Scorpyon04's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. Dont Worry THis isnt supported because im in 1.8
  2. What debugger
  3. Im making a mod so when u kill a player it will spawn particles and i wont it to work on servers like hypixel but so far i cant get it working this is my code package scorpyon04.bloodeffect; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; @Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, version = Reference.MOD_NAME) public class BloodEffect { public static void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new DeathEventHandler()); } public static void Init(FMLInitializationEvent event) { System.out.println("Blood Effect Init"); } public static void postInit(FMLPostInitializationEvent event) { } } And This is my event handler package scorpyon04.bloodeffect; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraftforge.event.entity.living.LivingDeathEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; public class DeathEventHandler { @SubscribeEvent public void onLivingDeath(LivingDeathEvent event){ Entity e = event.entity; if (e instanceof EntityPlayer) { EntityPlayer killedplr = (EntityPlayer) e; if (event.source.getSourceOfDamage() instanceof EntityPlayer) { EntityPlayer plr = (EntityPlayer) event.source.getEntity(); plr.playSound("dig.stone", 1000.0f, 1.0f); } } } }
  4. Yea but what do i have to do ??
  5. So what do i need to do
  6. Is there a way to make it on client side
  7. I know but like i have mods like cps counter with display cps i wont a mod like that but it displays particles for the person using the mod not everyone on the server
  8. im trying to make a mod that shows particles when you kill someone for hypixel and only the player with the mod can see it
  9. its not my server
  10. Wheres the log lol
  11. ya but i have to build the jar so i cant see it in my ide
  12. how can i see if its printing im testing this on a vanilla server
  13. This Worked But the mod still isnt working
  14. Still cant hear it
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.