9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-29 03:49:08 +00:00

1.5.9-SNAPSHOT

This commit is contained in:
Xiao-MoMi
2022-07-14 19:48:37 +08:00
parent 213e3ab178
commit 10f2479449
21 changed files with 870 additions and 85 deletions

View File

@@ -9,12 +9,10 @@ import org.bukkit.entity.Entity;
public class IAFurniture {
//放置IA自定义家具
public static void placeFurniture(String name, Location location){
CustomFurniture.spawn(name, location.getBlock());
}
//根据位置获取盔甲架如果是洒水器返回true否则返回false
public static boolean getFromLocation(Location location, World world){
for(Entity entity : world.getNearbyEntities(location,0,0,0)){
if(entity instanceof ArmorStand armorStand){