MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / World

Method World

src/main/java/net/minecraft/world/World.java:157–169  ·  view source on GitHub ↗
(ISaveHandler saveHandlerIn, WorldInfo info, WorldProvider providerIn, Profiler profilerIn, boolean client)

Source from the content-addressed store, hash-verified

155 int[] lightUpdateBlockList;
156
157 protected World(ISaveHandler saveHandlerIn, WorldInfo info, WorldProvider providerIn, Profiler profilerIn, boolean client)
158 {
159 this.ambientTickCountdown = this.rand.nextInt(12000);
160 this.spawnHostileMobs = true;
161 this.spawnPeacefulMobs = true;
162 this.lightUpdateBlockList = new int[32768];
163 this.saveHandler = saveHandlerIn;
164 this.theProfiler = profilerIn;
165 this.worldInfo = info;
166 this.provider = providerIn;
167 this.isRemote = client;
168 this.worldBorder = providerIn.getWorldBorder();
169 }
170
171 public World init()
172 {

Callers

nothing calls this directly

Calls 2

nextIntMethod · 0.80
getWorldBorderMethod · 0.45

Tested by

no test coverage detected