-
[1.7.10] Chunk Loader [SOLVED]
Well this is embarassing.... new ChunkCoordIntPair(this.xCoord / 16, this.yCoord / 16) when forcing the chunk. I used the yCoord instead of the zCoord.
-
[1.7.10] Chunk Loader [SOLVED]
Bump.
-
[1.7.10] Chunk Loader [SOLVED]
I mean I'd rather go through forge's system for it. I'm pretty sure the vanilla player entity loads chunks in a completely separate way. There's no need to "trick" the system when forge has a system built just for this. I just can't figure out how to use forge's system.
-
[1.8.9] Continuous jump animation
I don't mean refelction. http://www.minecraftforge.net/wiki/Using_Access_Transformers
-
[1.8.9] Continuous jump animation
You could use an access transformer to gain access to the field.
-
[1.7.10] Chunk Loader [SOLVED]
I'm still unable to get this working. I would be very grateful to anyone who can help.
-
[1.7.10] Chunk Loader [SOLVED]
Thanks for your suggestion. If I'm reading Buildcraft's code correctly, the ticket is created and used in the TileEntity update method with an initialized boolean to make sure that it only happens once. I tried using this method rather than the validate function, however it did not been to change the results. Many more tickets are created than needed and the chunk doesn't seem to be loaded. Any other suggestions?
-
[1.7.10] Chunk Loader [SOLVED]
I'm trying to create a simple chunk loader to load just the chunk the block is located in. I read about Forge's ticket system, however I'm not sure I understand it. This is what I have so far: public class TileLoader extends TileEntity { private ForgeChunkManager.Ticket ticket; @Override public void validate() { super.validate(); if (!worldObj.isRemote && ticket == null) { ticket = ForgeChunkManager.requestTicket(LoaderTest.instance, this.worldObj, ForgeChunkManager.Type.NORMAL); ForgeChunkManager.forceChunk(ticket, new ChunkCoordIntPair(this.xCoord / 16, this.yCoord / 16)); } } @Override public void invalidate() { super.invalidate(); ForgeChunkManager.releaseTicket(ticket); } } With this code, many more tickets are created than needed and it doesn't seem to even load the chunk it is. What have I done wrong?
-
[1.8] Super Smash Bros Mod (Version 1.1.0)
In my opinion, it looks weird next to all the other items.
-
[1.8] Super Smash Bros Mod (Version 1.1.0)
Why are all of the item names in all caps?
-
[1.7.10] Chunk Loading Not Working in Other Dimensions
Hi, I'm trying to make a chunk loader, however, I have run into some difficulty. It works perfectly in the overworld, however, it just doesn't work at all in other dimensions. I don't know what could cause this because nothing I know of in the Forge chunk manager is dimension-specific. Is there something obvious I may have done incorrectly to cause this?
IPS spam blocked by CleanTalk.