Posted September 16, 20187 yr I'm trying to add the PlayerEvent.Clone class to the playerClone event but Eclipse is telling me that PlayerEvent.Clone doesn't exist. Edited September 16, 20187 yr by Spaceboy Ross The official YouTuber Spaceboy Ross
September 16, 20187 yr Are you sure you've imported the right PlayerEvent class? There are 3 classes with that name, 2 of which are provided by forge. You need the net.minecraftforge.event.entity.player.PlayerEvent, not the net.minecraftforge.fml.common.gameevent.PlayerEvent
September 16, 20187 yr Author Eclipse imported net.minecraftforge.fml.common.gameevent.PlayerEvent automatically. The official YouTuber Spaceboy Ross
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.