Compile-Fixes in BetterEnd
This commit is contained in:
parent
6d6a1175b5
commit
e3953167ba
174 changed files with 612 additions and 450 deletions
|
@ -35,6 +35,7 @@ import ru.betterend.registry.EndBlocks;
|
|||
|
||||
import java.util.Optional;
|
||||
import java.util.Random;
|
||||
import net.minecraft.util.RandomSource;
|
||||
|
||||
public class VentBubbleColumnBlock extends Block implements BucketPickup, LiquidBlockContainer {
|
||||
public VentBubbleColumnBlock() {
|
||||
|
@ -83,7 +84,7 @@ public class VentBubbleColumnBlock extends Block implements BucketPickup, Liquid
|
|||
}
|
||||
|
||||
@Environment(EnvType.CLIENT)
|
||||
public void animateTick(BlockState state, Level world, BlockPos pos, Random random) {
|
||||
public void animateTick(BlockState state, Level world, BlockPos pos, RandomSource random) {
|
||||
if (random.nextInt(4) == 0) {
|
||||
double px = pos.getX() + random.nextDouble();
|
||||
double py = pos.getY() + random.nextDouble();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue