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

Method setTickRandomly

src/main/java/net/minecraft/block/Block.java:423–427  ·  view source on GitHub ↗

Sets whether this block type will receive random update ticks

(boolean shouldTick)

Source from the content-addressed store, hash-verified

421 * Sets whether this block type will receive random update ticks
422 */
423 protected Block setTickRandomly(boolean shouldTick)
424 {
425 this.needsRandomTick = shouldTick;
426 return this;
427 }
428
429 /**
430 * Returns whether this block is of a type that needs random ticking. Called for ref-counting purposes by

Callers 15

BlockVineMethod · 0.80
BlockNetherWartMethod · 0.80
BlockGrassMethod · 0.80
BlockStemMethod · 0.80
BlockCarpetMethod · 0.80
BlockReedMethod · 0.80
BlockCropsMethod · 0.80
BlockBushMethod · 0.80
BlockTripWireHookMethod · 0.80
BlockTripWireMethod · 0.80
BlockMyceliumMethod · 0.80
BlockButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected