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:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user