public class FixedRule extends RepeatRule
| Modifier and Type | Field and Description |
|---|---|
protected int |
countdown |
protected int |
times |
| Constructor and Description |
|---|
FixedRule(int times) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
continueRepeating(net.minecraft.world.World world,
java.util.Random rand,
BlockCoords position) |
void |
repeat(net.minecraft.world.World world,
java.util.Random rand,
BlockCoords position) |
void |
reset(net.minecraft.world.World world,
java.util.Random random,
BlockCoords pos) |
getSpacingX, getSpacingY, getSpacingZ, init, setSpacingpublic boolean continueRepeating(net.minecraft.world.World world,
java.util.Random rand,
BlockCoords position)
continueRepeating in class RepeatRulepublic void repeat(net.minecraft.world.World world,
java.util.Random rand,
BlockCoords position)
repeat in class RepeatRulepublic void reset(net.minecraft.world.World world,
java.util.Random random,
BlockCoords pos)
reset in class RepeatRule