Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Of course the easiest and most reliable solution are the properties... but there's a limit to how much you can put..
I have a "channel" IntProperty which ranges from 0 to maxChannels(currently a 100), now.. it can run but increasing that number(or adding other properties that multiply with it) can cause it not to run(happened already)
my question is: Where else can I store this kind of data? I heard of the option of in the BlockEntity... but how may that be done? and should I do it at all or perhaps there's a better option?

  • Author

Oh I know how they work but my question is... Do I just... put those things in the BlockEntity's variables regularly.. no special PropertyStuff or idek.. will that work? because putting a regular variable at the block make all blocks of that kind use it

  • Author

I mean currently I got on my Block a Boolean and 3 Enums(2 of 2 and 1 of 6).. making it already amount to 48(If I calcualte this properly) [2 * 2 * 2 * 6].
So why not just transferring them over?

Btw the Enum of 6 is the FACING enum so I need it as a property, but seriously what stops me from putting the rest there? Is there a benefit to properies aside from being able to change the model and stuff on the blockstates JSON? and if not, does that mean if I don't need to access it on the JSON I should put that on the BlockEntity?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.