Jump to content

Recommended Posts

Posted (edited)

So i am trying to add new NBT data to the player and IExtendedEntityProperties Won't import am i missing something or do i have to make my own

 

I am on 1.12.2 

 

please check the code below

 

import net.minecraft.entity.Entity;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import net.minecraftforge.common.

public class PlayerData implements IExtendedEntityProperties {

    @Override
    public void saveNBTData(NBTTagCompound nbt) {
    }

    @Override
    public void loadNBTData(NBTTagCompound nbt) {
    }

    @Override
    public void init(Entity entity, World world) {
    }
}

Edited by ChrisIsNoodleBoy
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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