I am trying to add a method to a Minecraft source file, but I have to figure out how to do it without actually editing the source files, as it would be illegal to redistribute Minecraft's source files with the mod I am creating.
I need to add the method
setInPortalZub() to the
EntityPlayer class located in
net.minecraft.entity.player. I am using the MCP/Minecaft Forge API. I have tried creating an
EntityPlayer instance, but I'm not exactly sure how to make this work.