-
Sending message to player not working on servers.
It's not suposed to tell everyone who kills them(I think I did this a bit wrong) I want it when I die it tells me who got that sneaky kill when they don't have death messages wrong can I do this(With a vanilla server)?
-
Sending message to player not working on servers.
But it dosen't It only works in singleplayer worlds heres full code Core class public class Core { EntityDamageEvent ed = new EntityDamageEvent(); @Instance public static Core idInst; @EventHandler public void init(FMLInitializationEvent e) { FMLCommonHandler.instance().bus().register(ed); MinecraftForge.EVENT_BUS.register(ed); } } Event public class EntityDamageEvent { @SubscribeEvent public void death(LivingDeathEvent e) { if (!(e.entity instanceof EntityPlayer)) return; EntityPlayer p = (EntityPlayer) e.entity; p.addChatMessage(new ChatComponentText (EnumChatFormatting.DARK_AQUA + "You were killed by " + EnumChatFormatting.DARK_RED + "IDK" + EnumChatFormatting.DARK_AQUA + ".")); } } What if I'm on a vanilla server should this still work? If no how can I.
-
Sending message to player not working on servers.
The first one is in the class EntityDamageEvent in a void @SubscribeEvent public void death(LivingDeathEvent e) { if (!(e.entity instanceof EntityPlayer)) return; EntityPlayer p = (EntityPlayer) e.entity; p.addChatMessage(new ChatComponentText (EnumChatFormatting.DARK_AQUA + "You were killed by " + EnumChatFormatting.DARK_RED + "IDK" + EnumChatFormatting.DARK_AQUA + ".")); } nothing else in this class
-
Sending message to player not working on servers.
I use this to send the player a message p.addChatMessage(new ChatComponentText (EnumChatFormatting.DARK_AQUA + "You were killed by " + EnumChatFormatting.DARK_RED + "IDK" + EnumChatFormatting.DARK_AQUA + ".")); This is my main class @Mod(name = "LyghtSurvival", version = "0.0.1", modid = "ls") public class Core { EntityDamageEvent ed = new EntityDamageEvent(); @Instance public static Core idInst; @EventHandler public void init(FMLInitializationEvent e) { FMLCommonHandler.instance().bus().register(ed); MinecraftForge.EVENT_BUS.register(ed); } } This code only works for singleplayer. I'm new to this sorry.
-
Shaders Mod not working for me (Hope this is in the right place)
Who is them? The mod devs?
-
Shaders Mod not working for me (Hope this is in the right place)
I don't even have a shader running! It just crashes whenever i try to run the mod not using shader pack and who is them! Do you think it's a setting I have on thats crashing it?
-
Shaders Mod not working for me (Hope this is in the right place)
Forge version: 1.8-11.14.3.1491 Shaders Mod Version: 2.4.12mc1.8 Renderer: Intel HD Graphics P4600
-
EntityMoveHelper changing view?
Thanks it works! I can do the rest
-
EntityMoveHelper changing view?
No I'm on 1.8 I'm not getting these ons? :c How can I update and keep the workspace using forge src 1.8-11.14.3.1487.
-
EntityMoveHelper changing view?
Doesn't exist. :L Or I'm not doing it right but, I tried everything.
-
EntityMoveHelper changing view?
It does it everytime the entity is loaded is there somthing to put in a if to see if it just spawned?
-
EntityMoveHelper changing view?
Yes but, how do I get before spawning or when spawning it? Is there a method I'm not seeing to put it in? How do I get when it's spawned and do stuff when it spawns?
-
EntityMoveHelper changing view?
I can set it's rotation but, were would I?
-
EntityMoveHelper changing view?
Heres a link if you want to see exactly what the entity is doing. http://youtu.be/3UX9JXNP3mg Also is there a way to fix the slime from sinking into the ground? Why won't he just jump and move foward not the direction towards the wall like the vid.
-
EntityMoveHelper changing view?
Will what you said still allow me to do this
IPS spam blocked by CleanTalk.