Posted February 5, 20232 yr Couldnt create new tool tier because of that. public class ODToolTier { public static Tier END_WOOD; static { END_WOOD = TierSortingRegistry.registerTier( new ForgeTier(0,59,2.0F,0.0F,22, () -> {return Ingredient.of(ODBlocks.PALE_PLANKS);}) ); } } The problem is that method Ingredient.of() couldnt accept ODBlocks.PALE_PLANKS because it is RegistryObject<Block>
February 5, 20232 yr 1 hour ago, Rincewind88888 said: The problem is that method Ingredient.of() couldnt accept ODBlocks.PALE_PLANKS because it is RegistryObject<Block> What does the method accept, and how can you get it from the registry object?
February 5, 20232 yr Author 39 minutes ago, ChampionAsh5357 said: What does the method accept, and how can you get it from the registry object? Yes, thx. I have already realised that i missed get() so the theme is exhausted. My bad.
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.