Posted May 1, 20223 yr 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?
May 2, 20223 yr 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
May 2, 20223 yr Author And also on that note... does it mean it would just be better to put ALL properties on the BlockEntity? and if not, why?
May 2, 20223 yr 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.