Class BedrockRecipeWildcardItemsFixer
java.lang.Object
net.mcreator.element.converter.v2026_3.BedrockRecipeWildcardItemsFixer
- All Implemented Interfaces:
Comparable<IConverter>, IConverter
Bedrock Edition generator used to map wildcard ("any x") entries listed below to their first variant
(e.g. Blocks.STONE to "stone"). These mappings were removed, so this converter rewrites such entries
to the explicit first variant (e.g. Blocks.STONE#0) to preserve the previously generated recipes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvert(Workspace workspace, GeneratableElement input, com.google.gson.JsonElement jsonElementInput) intMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IConverter
compareTo
-
Constructor Details
-
BedrockRecipeWildcardItemsFixer
public BedrockRecipeWildcardItemsFixer()
-
-
Method Details
-
convert
public GeneratableElement convert(Workspace workspace, GeneratableElement input, com.google.gson.JsonElement jsonElementInput) - Specified by:
convertin interfaceIConverter
-
getVersionConvertingTo
public int getVersionConvertingTo()- Specified by:
getVersionConvertingToin interfaceIConverter
-