mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-27 19:09:08 +00:00
dev
- 修复可堆叠方块行为 - 尝试向 packetevents 注入自定义方块
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user