We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add to config
BreedablePetsMC/src/main/java/me/magnum/breedablepets/util/SpawnPets.java
Line 52 in 12c919b
World world = player.getWorld(); location = world.getHighestBlockAt(location).getLocation().add(0,1,0); Parrot parrot = (Parrot) world.spawnEntity(location, EntityType.PARROT); parrot.setTamed(Breedable.getCfg().getBoolean("hatches.tamed")); parrot.setHealth(1); // TODO add to config parrot.setVariant(Parrot.Variant.RED); if (parrot.isTamed()) { parrot.setOwner(player); parrot.setSitting(true); } if (Breedable.getCfg().getBoolean("hatches.named")) { parrot.setCustomNameVisible(true); parrot.setCustomName(ChatColor.translateAlternateColorCodes('&', Objects.requireNonNull(Breedable.getCfg().getString("hatches.name")))); } } } ndex 1542db8..5e3812f 100644 ++ b/src/main/resources/config.yml
The text was updated successfully, but these errors were encountered:
No branches or pull requests
add to config
BreedablePetsMC/src/main/java/me/magnum/breedablepets/util/SpawnPets.java
Line 52 in 12c919b
The text was updated successfully, but these errors were encountered: