Interface PlayerEntityEvent.BlockPlaced

Enclosing interface:
PlayerEntityEvent

public static interface PlayerEntityEvent.BlockPlaced
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invoke(net.minecraft.item.ItemPlacementContext context)
    A TEvent that is invoked whenever a ServerPlayerEntity places a block.
  • Method Details

    • invoke

      @Experimental void invoke(net.minecraft.item.ItemPlacementContext context)
      A TEvent that is invoked whenever a ServerPlayerEntity places a block.
      Parameters:
      context - The ItemPlacementContext.