Closed zlataovce closed 6 months ago
A way to affect and replace the mapping and accessor class naming logic should be provided as a part of AccessorConfiguration.
AccessorConfiguration
This brings the advantage of choosing the name based on the original, fully-qualified class name declared in the accessor model, like so:
net.minecraft.network.protocol.PacketAccessor
me.kcra.test.accessors.network.protocol.PacketAccessor
me.kcra.test.accessors.PacketAccessor
This also aims to fix a bug where accessors for x.y.ClassOne are written over accessors for x.z.ClassOne (same class name, different package name).
x.y.ClassOne
x.z.ClassOne
A way to affect and replace the mapping and accessor class naming logic should be provided as a part of
AccessorConfiguration
.This brings the advantage of choosing the name based on the original, fully-qualified class name declared in the accessor model, like so:
net.minecraft.network.protocol.PacketAccessor
me.kcra.test.accessors.network.protocol.PacketAccessor
me.kcra.test.accessors.PacketAccessor