I cant find the Imports based on all the guides I am reading. Im not new to programming, I just don't usually use java. Usually I code in C# or Python. Again the issue isnt with the code itself, its the seemingly missing imports.
Also that's basically the entire Class for my custom Entity. (I haven't started coding it yet as Im encountering Issues with the Imports as I previously stated. It seems like the Default Forge Installation for IntelliJ using genIntellijRuns is Either missing Mappings for some classes, or I messed up the install of the IDE. If Its the Latter I will go and fix it on my own, if its the former then I have an issue that needs to be addressed)
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.world.World;
public class FakePlayerEntity extends PlayerEntity {
// Constructor
public FakePlayerEntity(World worldIn) {
super(worldIn, worldIn.getGameRules().getBoolean(GameRules.NATURAL_REGENERATION));
}
Both of those imports don't exist. Im posting here specifically because in the Forge tutorials and documentation I can't find anything relating to Entity classes. Hence yes, it is an IDE error but given that I can't find any information on making a custom Entity (Using the latest version of forge), Where exactly should I ask this?
Am I Supposed to have those two Imports? EG: Are those imports normally accessible or am I missing something? (The ExampleMod works and launches fine).