Posted July 14, 20187 yr Hi, how to update the chunk if it was unloaded? Edited July 14, 20187 yr by WildHeart
July 14, 20187 yr What problem are you trying to solve? Check out my tutorials here: http://jabelarminecraft.blogspot.com/
July 15, 20187 yr Author I have a mod that has a mechanism, this mechanism is enabled when it loads your chunk, but I need to remove it as on my server logs are created. It doesn't mention ChunkEvent.Unload / Load or ForgeChunkManger. So, I need more ways of loading the chunk which I don't know. Thanks!
July 15, 20187 yr Author 1 minute ago, diesieben07 said: Accessing a block in an unloaded chunk (through World#getBlockState for example) will load that chunk (and then immediately unload it, since it is not needed). However you should avoid doing this. I have no idea what this is supposed to mean. A server always creates log files. Please clarify. Oh, sry, it's a stupid translator. "I have a mod that has a mechanism, this mechanism loads chunk when is enabled". I know that it is possible to load the chunk using method getChunkFromChunkCoords, but what else like this can cause a сhunk loading or tileEntities update in the vicinity?
July 15, 20187 yr Author Not exactly. I know chunk loaders: ForgeChunManager, ChunkEvent.Load/Unload. But there are still vanilla ways I don't know about. That's what I'm asking.
July 15, 20187 yr Author I want to disable this in mod. It is necessary not only in one tileEntity but also in the nearest in a chunk
July 15, 20187 yr I think he's trying to say that: "My Entity is keeping the chunk loaded, and I don't want it to do that. How can I make it to be loaded only, if the player is within X chunks?" procedure WakeMeUp(Integer plusTime); var I: Integer; begin for I := 0 to plusTime do begin println('One more minute!'); Sleep(1000); end; println('Okay, nothing to worry, I''m alive!'); println('So... somebody can give me a coffee?'); println('I know it''s Pascal, and not Java, but I love it :D.'); end;
July 15, 20187 yr Author Just now, Legenes said: I think he's trying to say that: "My Entity is keeping the chunk loaded, and I don't want it to do that. How can I make it to be loaded only, if the player is within X chunks?" Yes, thank u) But not entity, it's tile Edited July 15, 20187 yr by WildHeart
July 15, 20187 yr Author Just now, diesieben07 said: Entities do not do that by default. @WildHeart If this is the case, then you are doing something to keep the chunk loaded. Stop doing whatever this is. Not entity, this is tileEntity
July 15, 20187 yr Author 1 minute ago, diesieben07 said: Same answer. TileEntities also do not keep chunks loaded by default. I know, but what can be in it that can cause?
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.