Skip to content
laz edited this page Nov 22, 2026 · 3 revisions

World

Data sent using there methods is broadcasted to all players in specified World.

ClearTitle()

Clear all on-screen titles and popups.

world.ClearTitle()

GetBiome(int, int, int)

todo

GetDimension(Dimension)

Get World object of another dimension of the world. World netherDimension = world.GetDimension(Dimension.Nether)

RefreshChunks()

todo

RefreshChunk(int, int)

todo

Send(Packet)

Send custom data packet to all players in this World.

SetActorData setActorData = new SetActorData
{
   EntityId = 22,
   Metadata = new Dictionary<ActorData, Metadata>() { { ActorData.VISIBLE_MOB_EFFECTS, new Metadata(1) } }
};
world.Send(setActorData);

SendActionBarTitle(String, int(optional), int(optional), int(optional))

Send action bar messsage.

world.SendActionBarTitle("hi hi text message");

SendBlock(Block, int, int, int)

Send block update to all players in this World using block coordinate system.

world.SendBlock(new DiamondBlock(), 10, 5, 2);

SendBlock(Block, Vector3)

Send block update to all players in this World using player position coordinate system.

world.SendBlock(new DiamondBlock(), player.Position);

SendChatMessage(string, string)

Send chat message from specific source.

world.SendChatMessage("hi hi text message", "Bot1")

chatmessage

SetChunkBiome(int, int, Biome)

todo

SendJukeboxPopup(String)

Send jukebox like message popup.

world.SendJukeboxPopup("hi hi text message");

jukeboxpopup

SendLevelEvent(Vector3, LevelEvents, int(optional))

Send LevelEvent to all players in this World.

world.SendLevelEvent(new Vector3(x, y, z), LevelEvents.ParticlesEvaporate);

SendMessage(String)

Send chat message.

world.SendMessage("hi hi text message");

message

SendPopup(String)

Send tooltip like message popup.

world.SendPopup("hi hi text message");

popup

SendTitle(String, String(optional), int(optional), int(optional), int(optional))

Send title and subtitle messages.

world.SendTitle("hi hi text message", "more text");

title

SendTip(String)

Send tooltip message.

world.SendTip("hi hi text message");

tip

SetBiome(int, int, int, Biome)

todo

SetBlock(Block, int, int, int, bool(optional))

Place real block in specified world using block coordinates system. Bool let's disable sending block updates. Setting bool to false is recomended for creating large structures so it won't overload networking. If bool is set to false you will need to resend chunks to players right after SetBlock.

world.SetBlock(new DiamondBlock(), 10, 5, 2);

SetBlock(Block, Vector3, bool(optional))

Place real block in specified world from player position. Usage is same as SetBlock(Block, int, int, int, bool(optional))

Clone this wiki locally