Closed ItsNature closed 4 months ago
Description: Added utility method for Bukkit Entity to ApolloEntity conversion.
Entity
ApolloEntity
Changes: Added BukkitApollo#toApolloEntity(org.bukkit.entity.Entity) method
BukkitApollo#toApolloEntity(org.bukkit.entity.Entity)
Code Example (If applicable):
public void runEntityExample(Player player, ApolloPlayer apolloPlayer) { List<ApolloEntity> sheepEntities = player.getWorld().getEntitiesByClass(Sheep.class) .stream().map(BukkitApollo::toApolloEntity) .collect(Collectors.toList()); this.entityModule.overrideRainbowSheep(apolloPlayer, sheepEntities); }
feature/add-module
bugfix/fix-issue
Overview
Description: Added utility method for Bukkit
Entity
toApolloEntity
conversion.Changes: Added
BukkitApollo#toApolloEntity(org.bukkit.entity.Entity)
methodCode Example (If applicable):
Review Request Checklist
feature/add-module
&bugfix/fix-issue
)