public class WorldGenSpikes extends WorldGenerator
Modifier and Type | Class and Description |
---|---|
static class |
WorldGenSpikes.EndSpike |
Modifier and Type | Field and Description |
---|---|
private BlockPos |
beamTarget |
private boolean |
crystalInvulnerable |
private WorldGenSpikes.EndSpike |
spike |
Constructor and Description |
---|
WorldGenSpikes() |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
void |
setBeamTarget(BlockPos pos) |
void |
setCrystalInvulnerable(boolean p_186144_1_) |
void |
setSpike(WorldGenSpikes.EndSpike p_186143_1_) |
setBlockAndNotifyAdequately, setDecorationDefaults
private boolean crystalInvulnerable
private WorldGenSpikes.EndSpike spike
private BlockPos beamTarget
public void setSpike(WorldGenSpikes.EndSpike p_186143_1_)
public void setCrystalInvulnerable(boolean p_186144_1_)
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator
public void setBeamTarget(@Nullable BlockPos pos)