Jump to content

sheepie20

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

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

sheepie20's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I have: Minecraft.getInstance().player.sendChatMessage(command); but im getting an error saying: Cannot resolve method 'sendChatMessage' in 'LocalPlayer':49 Now, I know what this error means, but I have no clue how to fix it. I am knew to java and forge modding. I was thinking maybe it was an import issue? here are all my imports: import net.minecraft.client.Minecraft; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.entity.player.PlayerEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.client.event.ClientChatEvent; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.util.Timer; import java.util.TimerTask; Does anybody know the solution?
×
×
  • Create New...

Important Information

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