Hello, i am trying to add a new axe that would mine an entire tree, however i can not detect the type of wood that is broken so i can only break it, could someone help me find the solution for this
Hello guys, i am trying to create a mod in Minceraft 1.20.1 for a armor set that gives special effects when worn, and i want to use the onArmorTick method overridden in my custom armor class, but i came to find out that it is being deprecated, and i can't use it anymore.
Can you help me find a substitute for this method?
I really appreciate all help!
Hello i am creating a mod to add new features and items to minecraft but i need to set a custom description to help the user know how to use the item. Can anyone help me do the custom descriptions?
My forge version is 1.16.5-36.0.43
All the files are in my github troublemaker-47/better-armour (github.com)
By the way do you know how to resolve this???
Bad return type in lambda expression: Ingredient cannot be converted to ConfiguredFeature<?, ?>
@SubscribeEvent
public static void onBiomeLoading(final BiomeLoadingEvent event) {
if (event.getCategory() != Biome.Category.NETHER && event.getCategory() != Biome.Category.THEEND) {
OreFeatureConfig feature = new OreFeatureConfig(OreFeatureConfig.FillerBlockType.BASE_STONE_OVERWORLD,
RegistryHandler.MY_ORE.get().getDefaultState(), 6);
event.getGeneration().getFeatures(GenerationStage.Decoration.UNDERGROUND_ORES).add( () -> {
Ingredient.fromItems(RegistryHandler.MY_ORE.get());
return Ingredient.fromItems(RegistryHandler.MY_ORE.get());<------- //here is the error
}
);
}
}