Class RewriterBase<T extends Protocol<?,?,?,?>>
java.lang.Object
com.viaversion.viaversion.api.rewriter.RewriterBase<T>
- All Implemented Interfaces:
MappingDataListener
,Rewriter<T>
-
Field Details
-
protocol
-
-
Constructor Details
-
RewriterBase
-
-
Method Details
-
register
public final void register()Description copied from interface:Rewriter
Registers any packet handlers or rewrites needed. -
registerPackets
protected void registerPackets()To be overriden. Called when registering the rewriter. -
registerRewrites
protected void registerRewrites()To be overriden. Called when registering the rewriter. -
protocol
Description copied from interface:Rewriter
Returns theProtocol
instance of this rewriter.
-