Sets whether this block type will receive random update ticks
(boolean shouldTick)
| 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 |
no outgoing calls
no test coverage detected