Refactor/JavaNative: Ability to override a class' ZenCode-Name #160
Labels
CraftTweaker
All Issues that are needed by CraftTweaker
JavaIntegration
All issues that relate to integrating ZenCode with existing Java Code
Milestone
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:
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.The text was updated successfully, but these errors were encountered: