Jump to content

Recommended Posts

Posted

Is it possible, to load IExtendedEntityProperties to a TileEntity? So I can load a Integer from my  IExtendedEntityProperties to a tileentity, so the Tileentity does other things as normal?

 

For Example when the Integer is 1, my Furnace smelts faster.

 

This is my TileEntity

 

 

  Reveal hidden contents

 

 

Extended Player

 

  Reveal hidden contents

 

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

Posted

The extended properties is just an NBT structure that FML will automatically save and load for you.  Other than that it is just an NBT like any other.  You can create any NBT you want in your classes, including TileEntity.

 

NBT sounds fancy but is just a tagged compound that allows you to easily look up values based on string key.

 

Or do you mean you want your tile entity to access the extended properties of some other entity class?

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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