Package net.minestom.server.instance
package net.minestom.server.instance
-
ClassDescriptionA chunk is a part of an
Instance
, limited by a size of 16x256x16 blocks and subdivided in 16 sections of 16 blocks height.Represents aChunk
which store each individual block in memory.EntityTracker.Target<E extends Entity>Represents the type of entity you want to retrieve.EntityTracker.Update<E extends Entity>Callback to know the newly visible entities and those to remove.Abstract explosion.Interface implemented to change the way chunks are loaded/saved.Instances are what are called "worlds" in Minecraft, you can add an entity in it usingEntity.setInstance(Instance)
.InstanceContainer is an instance that contains chunks in contrary to SharedInstance.Used to registerInstance
.A chunk which supports lighting computation.TheSharedInstance
is an instance that shares the same chunks as its linkedInstanceContainer
, entities are separated.Represents the possible weather properties of an instanceRepresents the world border state of anInstance
, can be retrieved withInstance.getWorldBorder()
.