mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:33:57 +01:00
Created Custom Spout Interaction (markdown)
parent
8a3a69ae84
commit
03b4865dbc
7
Custom-Spout-Interaction.md
Normal file
7
Custom-Spout-Interaction.md
Normal file
@ -0,0 +1,7 @@
|
||||
Aside from belt/depot interaction via recipes, Add-ons are able to give Spouts a fully customized action for deploying fluids onto any block.
|
||||
|
||||
1. Extend `BlockSpoutingBehaviour`
|
||||
2. Register one instance of it via `BlockSpoutingBehaviour.register(...)`
|
||||
3. Details can be found in the javadoc entry of the method to be implemented
|
||||
|
||||
An Example Behaviour can be found [here](https://github.com/Creators-of-Create/Create/blob/mc1.16/dev/src/main/java/com/simibubi/create/compat/tconstruct/SpoutCasting.java)
|
Loading…
Reference in New Issue
Block a user