9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-27 19:09:08 +00:00
- 修复可堆叠方块行为
- 尝试向 packetevents 注入自定义方块
This commit is contained in:
jhqwqmc
2025-12-21 22:46:53 +08:00
parent e1a33c17d6
commit a242339f4f
7 changed files with 178 additions and 50 deletions

View File

@@ -0,0 +1,9 @@
package net.momirealms.craftengine.core.block.behavior;
import net.momirealms.craftengine.core.block.ImmutableBlockState;
import net.momirealms.craftengine.core.item.context.BlockPlaceContext;
public interface CanBeReplacedBlockBehavior {
boolean canBeReplaced(BlockPlaceContext context, ImmutableBlockState state);
}