public class StatisticsRewriter extends Object
Constructor and Description |
---|
StatisticsRewriter(Protocol protocol,
@Nullable IdRewriteFunction entityRewriter) |
Modifier and Type | Method and Description |
---|---|
@Nullable RegistryType |
getRegistryTypeForStatistic(int statisticsId) |
protected @Nullable IdRewriteFunction |
getRewriter(RegistryType type) |
void |
register(ClientboundPacketType packetType) |
public StatisticsRewriter(Protocol protocol, @Nullable @Nullable IdRewriteFunction entityRewriter)
public void register(ClientboundPacketType packetType)
@Nullable protected @Nullable IdRewriteFunction getRewriter(RegistryType type)
@Nullable public @Nullable RegistryType getRegistryTypeForStatistic(int statisticsId)
Copyright © 2016–2021. All rights reserved.