[Feature]: Greenhouse block #85
Replies: 9 comments 10 replies
-
I had plans to make a greenhouse for crops, though it's for plants it could be adapted for an oxygen system. However, I will need to figure this out when the time comes because at the moment I am not sure how to do it and I need to finish up the rice crop mechanics before I can start working on this which has been on hold until other systems are in place. But I will work towards this in the future for sure. |
Beta Was this translation helpful? Give feedback.
-
Any ideas or logic on how this could work. As this is the only thing left in my mod. And mod jam deadline is near and still can't figure it out There is code for it in ad astra GitHub but I don't know how to read Java or any stuff so like please |
Beta Was this translation helpful? Give feedback.
-
I have not brainstormed any ideas on how to do this yet nor have I done it so I can't really say what would work or not. You would also want to make an air-tight block and set a rough distance which any six sides of the location the air would spread to is in reach of an air-tight block, this way natural shelters like caves would not provide a place for it to spread to as this could cause major lag in post generation conditions. The last thing you would need is some kind of source I guess the source would generate air blocks. Greenhouse it would be less important to make a sealed room all I would need to do is test if the blocks are next to it and the plants are indoors. This could technically be applied the same way but this would in some cases court as outdoors if the player or entity was on the other side of the blocks with one block above. Just something to keep in mind I guess. In cases like this, I wish we had a way to make custom air blocks like cave air and such but we don't at the moment. |
Beta Was this translation helpful? Give feedback.
-
Well we can make air blocks. Just set it's texture to a transparent texture which you can make by erasing an existing texture. Then set it's bounding box to 0 and make it replaceable which is a tick box. And wallah it's a air block |
Beta Was this translation helpful? Give feedback.
-
Yea I see your point, though 3D models still render the spaces as air, doing it this way would not fill those spaces with your block you would need custom blocks for that or do it through conditions to make it count which is what I was trying to say. Water acts much the same way as air in that regard as it works with 3D models, you can still breathe in them even when standing next to them if you place a fence in your gas it should be able to keep the gas while still providing the 3D model. Sadly though placing a fence would just add a regular fence with actual air. So a bit different mechanics than actual air or water. |
Beta Was this translation helpful? Give feedback.
-
So long till when. Did you think about this. I am still waiting to finish my mod due to this |
Beta Was this translation helpful? Give feedback.
-
I only record once every two weeks, not sure when I can finish the current project but I will see if I can fit it in after that. |
Beta Was this translation helpful? Give feedback.
-
I got a project workspace done today, spent 4 hours working on it. With that being said I did add notes to each procedure, however, the procedure that controls the effect for the player assumes you have some kind of oxygen or NBT variable system for that you can adapt the ApplyEffect procedure inside the repeat block that controls the SizeZ reading. It's also possible to set block NBT if you need to update blocks to read as in an oxygen room. Anyhow I hope this helps and is not too hard for you to learn how to set up. Most of it is pretty advanced but make sure you check the global variables and tags tabs as there are some important settings in them as well as the block and GUI I implemented too. If you get stuck then you will have to wait until I can do a tutorial which will be based on what the community wants to fast-track for a tutorial. I do advanced tutorials every second week so no clue when it would end up being recorded. |
Beta Was this translation helpful? Give feedback.
-
Thx a lot very very lot man. Also just a question. How do I switch the dimention of player along with it's player and keep player ridding the vehicle |
Beta Was this translation helpful? Give feedback.
-
Feature information
need to make a oxygen distributer block for my mod so please bro
Beta Was this translation helpful? Give feedback.
All reactions