added player_collides_with_entity event
This commit is contained in:
1 parent
755f3a7840
commit
c0707fe544
6 files changed
+38
-6
No files matched your search
@@ -12,6 +12,7 @@ import org.spongepowered.asm.mixin.injection.Redirect;
|
||||
@Mixin(WorldChunk.class)
|
||||
public class WorldChunk_fillUpdatesMixin
|
||||
{
|
||||
// todo onStateReplaced needs a bit more love since it removes be which is needed
|
||||
@Redirect(method = "setBlockState", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/block/BlockState;onBlockAdded(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V"
|
||||
|
||||
Reference in new issue
Block a user