User Tools

Site Tools


tutorial:transfer-api_simpletank

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:transfer-api_simpletank [2022/10/07 16:55] nexus-dinotutorial:transfer-api_simpletank [2023/02/22 08:22] (current) – Minor change in wording redgrapefruit
Line 86: Line 86:
  
 Alright, now we can contain some fluid, and we are properly saving it if it changes. Alright, now we can contain some fluid, and we are properly saving it if it changes.
-Now, we must register ensure that other mods can properly interact with our tank:+Now, we must register the block entity in order to ensure that other mods can properly interact with our tank:
 <code java> <code java>
 BlockEntityType<MyTankBlockEntity> MY_TANK = // see block entity tutorial BlockEntityType<MyTankBlockEntity> MY_TANK = // see block entity tutorial
tutorial/transfer-api_simpletank.1665161706.txt.gz · Last modified: 2022/10/07 16:55 by nexus-dino