Posted February 1, 20232 yr Hey, I created a custom crop for minecraft 1.19.3, and want to check if its current age is == x. What is the correct way of approaching and solving this problem?
February 1, 20232 yr Author Figured it out. For anyone wondering, you can use the blockstate's getValue function, pass it your IntegerProperty, and it returns the current value!
February 10, 20232 yr Hey, glad to hear you figured it out! I'm having the same issue and can't seem to make it figure out that I'm passing the IntegerProperty. Do you have any more information or a screenshot by chance?
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.