Class BlockEvent.EntityPlaceEvent

    • Constructor Detail

      • EntityPlaceEvent

        public EntityPlaceEvent​(@Nonnull
                                BlockSnapshot blockSnapshot,
                                @Nonnull
                                BlockState placedAgainst,
                                @Nullable
                                Entity entity)
    • Method Detail

      • getEntity

        @Nullable
        public Entity getEntity()
      • getPlacedBlock

        public BlockState getPlacedBlock()
      • getPlacedAgainst

        public BlockState getPlacedAgainst()