tutorial:propertydelegates
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:propertydelegates [2020/08/14 17:15] – [Showing the Information with the Screen] manymoney2 | tutorial:propertydelegates [2020/08/14 17:23] – [Result] manymoney2 | ||
---|---|---|---|
Line 169: | Line 169: | ||
</ | </ | ||
+ | |||
+ | ====== Result ====== | ||
+ | As the registration of the ScreenHandler is identical to the first tutorial we can see the result already! | ||
+ | When the BlockEntity is placed it will increase the syncedInt by one each tick, when we look inside the container the integer will | ||
+ | automatically be synced to the client and rendered in the top left corner. | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | If you want a more realistic example, you might want to have a look at AbstractFurnaceEntity and AbstractFurnaceScreenHandler in the minecraft code. | ||
tutorial/propertydelegates.txt · Last modified: 2022/05/27 16:00 by solidblock