MCPcopy Create free account
hub / github.com/cabaletta/baritone / setSpecial

Method setSpecial

src/main/java/baritone/cache/CachedChunk.java:187–193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

185 }
186
187 private final void setSpecial() {
188 for (Map.Entry<String, List<BlockPos>> entry : specialBlockLocations.entrySet()) {
189 for (BlockPos pos : entry.getValue()) {
190 special.put(getPositionIndex(pos.getX(), pos.getY(), pos.getZ()), entry.getKey());
191 }
192 }
193 }
194
195 public final BlockState getBlock(int x, int y, int z, DimensionType dimension) {
196 int index = getPositionIndex(x, y, z);

Callers 1

CachedChunkMethod · 0.95

Calls 6

getPositionIndexMethod · 0.95
putMethod · 0.80
getYMethod · 0.80
getValueMethod · 0.65
getXMethod · 0.65
getZMethod · 0.65

Tested by

no test coverage detected