Is it possible to create chests into world by plugin?
I'm can't find how to do it.
	
	
	
	
I'm can't find how to do it.
| 
					[SOLVED] Set chests by plaugin
				 | 
| 
		Is it possible to create chests into world by plugin? I'm can't find how to do it. 
		
		
		01-22-2016, 12:13 AM 
		
	 
		Use cWorld:SetBlock(BlockX, BlockY, BlockZ, E_BLOCK_CHEST, Meta). Then you can use cWorld:DoWithChestAt(BlockX, BlockY, BlockZ, CallbackFunction) to change it's contents if wanted.
	 
		
		
		01-22-2016, 12:20 AM 
		
	 
		I't does not work.
	 
		
		
		01-22-2016, 12:27 AM 
		
	 
		What doesn't work, setting the chest block, or filling it with the callback? I believe the minimum blockmeta for chests is 2. Try setting it to that. Thanks given by: DrMasik
		 
		
		
		01-22-2016, 12:28 AM 
		
	 
		Check that you use for chest the meta value of 2 to 5. A meta value of 0 makes the chest invisible.
	 Thanks given by: DrMasik
		 
		
		
		01-22-2016, 02:26 AM 
		
	 
		I spent 18 hours in order to somehow solve the problem. A decision was so close   ((( Thank you very much, NiLSPACE and Seadragon91. | 
| 
					« Next Oldest | Next Newest »
				 |