-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
CraftTweakerAll Issues that are needed by CraftTweakerAll Issues that are needed by CraftTweakerJavaIntegrationAll issues that relate to integrating ZenCode with existing Java CodeAll issues that relate to integrating ZenCode with existing Java Code
Milestone
Description
In CraftTweaker, we add a special NativeTypeRegistration to allow registering of Types from Minecraft where we cannot just add @Name.
In order for this approach to work, we need to be able to hook into the process that resolves a Class<?> from Java into a ZC-specific name.
In this example code:
@NativeTypeRegistration(value = ItemStack.class, zenCodeName = "crafttweaker.api.item.ItemStack")
public class ExpandItemStack {
}We want ZenCode to resolve ItemStack's name in the same way as if @Name("crafttweaker.api.item.ItemStack") had been applied to the ItemStack class.
Metadata
Metadata
Assignees
Labels
CraftTweakerAll Issues that are needed by CraftTweakerAll Issues that are needed by CraftTweakerJavaIntegrationAll issues that relate to integrating ZenCode with existing Java CodeAll issues that relate to integrating ZenCode with existing Java Code