Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public IEntityLivingData onInitialSpawn(DifficultyInstance difficulty, @Nullable IEntityLivingData livingdata) {
- World world;
- Biome biome = this.worldObj.getBiome(new BlockPos(this));
- this.getLifeStageHelper().setLifeStage(EnumDragonLifeStage.ADULT);
- if (biome instanceof BiomeHills && this.worldObj.canSeeSky(new BlockPos(this)) && this.rand.nextInt(5) != 0)
- {this.setBreedType(EnumDragonBreed.GARNET);}else
- {this.setBreedType(EnumDragonBreed.AMETHYST);}
- return livingdata;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement