Blocks or Construction Elements?
- 
						
						
- English
 
 - yahwho
 - Thread is marked as Resolved.
 
Latest hotfix: 0.9 (2025-10-31)
- 
			
 - 
			
Yes indeed, the PlayerPlaceBlockEvent and PlayerDestroyBlockEvent will be removed (because the new version treats all blocks as construction elements), instead these situations will be covered by the PlayerPlaceConstructionEvent and PlayerRemoveConstructionEvent / PlayerDestroyConstructionEvent / PlayerHitConstructionEvent

 - 
			
Thought so!

 - 
			
 - 
			
red51 How will the getMultiplePlacementDirection and getMultiplePlacementCount be converted?
We've been thinking about a separate event for "multi placement", but we're not sure if that's a good idea. For now there will be new getMultiPlaceRowX(), getMultiPlaceRowY() and getMultiPlaceRowZ() functions - in the new version, it will be possible to place multiple elements along more than 1 axis, so we need separate methods for that (e.g. the player could place 4x4 elements along the x/z axes)

Edit: PlayerHitConstructionEvent is new isn't it?

Oh, actually it was already there, but it was called PlayerConstructionHitEvent before. We've renamed it to make it more consistent with other event names

 - 
			
That makes sense. Thankfully what I've already written should work, with a few amendments

 
Participate now!
Don’t have an account yet? Create a new account now and be part of our community!