Posted January 23, 20205 yr in my other mod i have the method "isSolid" in some block-classes. But now, 1n 1.15.1 it´s marked red and the hint says, it´s a final method now. How do i set this property now? Edited January 23, 20205 yr by Drachenbauer
January 24, 20205 yr This can be set through the block properties during block construction. If you follow the usage of that function and backing fields you will see that the result is returned from the isSolid function. Yay complexity! public BlockFoo() { super(Properties.create(Material.Rock) .func_226896_b_()); } Edited January 24, 20205 yr by WuestMan
January 24, 20205 yr Author Does this mean, if i add func_226896_b_() there, the block is set as solid, and if not, not?
January 25, 20205 yr The block is considered solid by default. By calling that method is considered not solid.
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.