9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 19:39:11 +00:00

调整效果语句, 添加ce字段, 避免和sk本身的语法冲突

This commit is contained in:
Catnies
2025-08-08 13:25:12 +08:00
parent afa328f859
commit db293941eb
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
public class EffPlaceCustomBlock extends Effect {
public static void register() {
Skript.registerEffect(EffPlaceCustomBlock.class, "place custom block %customblockstates% [%directions% %locations%]");
Skript.registerEffect(EffPlaceCustomBlock.class, "place (custom|ce|craft-engine) block %customblockstates% [at] [%directions% %locations%]");
}
private Expression<ImmutableBlockState> blocks;

View File

@@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
public class EffPlaceFurniture extends Effect {
public static void register() {
Skript.registerEffect(EffPlaceFurniture.class, "place furniture %strings% [%directions% %locations%]");
Skript.registerEffect(EffPlaceFurniture.class, "place (custom|ce|craft-engine) furniture %strings% [at] [%directions% %locations%]");
}
private Expression<String> furniture;

View File

@@ -14,7 +14,7 @@ import org.jetbrains.annotations.Nullable;
public class EffRemoveFurniture extends Effect {
public static void register() {
Skript.registerEffect(EffRemoveFurniture.class, "remove furniture %entities%");
Skript.registerEffect(EffRemoveFurniture.class, "remove (custom|ce|craft-engine) furniture %entities%");
}
private Expression<Entity> entities;