Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

zmaster587

Members
  • Posts

    1
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zmaster587's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. When I created a chunkloader for 1.6.4, I created a class and had it implement 'net.minecraftforge.common.ForgeChunkManager.LoadingCallback'. WorldEvents: public class WorldEvents implements LoadingCallback { @Override public void ticketsLoaded(List<Ticket> tickets, World world) { //TODO: somthing when the tickets are loaded } } Immobile Entity (Loading a block should be the same. Note: this only loads on chunk): ... if(!worldObj.isRemote) { Ticket ticket = ForgeChunkManager.requestTicket(AdvancedRocketry.instance, this.worldObj, Type.NORMAL); if(ticket != null) ForgeChunkManager.forceChunk(ticket, new ChunkCoordIntPair((int)this.posX / 16, (int)this.posZ / 16)); } ... Hope this helps...
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.