classpublicabstractPriority 3
Bench
com.hypixel.hytale.server.core.asset.type.blocktype.config.bench.Bench
implements NetworkSerializable
24
Methods
24
Public Methods
16
Fields
1
Constructors
Constants
BuilderCodec<Bench>BASE_CODEC= BuilderCodec.abstractBuilder(Bench.class)
.addField(new KeyedCodec<>("Id", Codec.STRING), (...
Map<BenchType, RootInteraction>BENCH_INTERACTIONS= new EnumMap<>(BenchType.class)
ObjectCodecMapCodec<BenchType, Bench>CODEC= new ObjectCodecMapCodec<>("Type", new EnumCodec<>(BenchType.class))
BuilderCodec<Bench.BenchSlot>CODEC= BuilderCodec.builder(Bench.BenchSlot.class, Bench.BenchSlot::new)
.addField(new KeyedCod...
Constructors
public
Bench()Methods
Public Methods (24)
public
boolean equals(Object o)@Override
public
String getBenchUpgradeCompletedSoundEventId()@Nullable
public
int getBenchUpgradeCompletedSoundEventIndex()public
String getBenchUpgradeSoundEventId()@Nullable
public
int getBenchUpgradeSoundEventIndex()public
String getCompletedSoundEventId()@Nullable
public
int getCompletedSoundEventIndex()public
String getDescriptiveLabel()public
String getFailedSoundEventId()@Nullable
public
int getFailedSoundEventIndex()public
String getIcon()public
String getId()public
String getLocalCloseSoundEventId()@Nullable
public
int getLocalCloseSoundEventIndex()public
String getLocalOpenSoundEventId()@Nullable
public
int getLocalOpenSoundEventIndex()public
RootInteraction getRootInteraction()@Nullable
public
BenchTierLevel getTierLevel(int tierLevel)public
BenchType getType()public
BenchUpgradeRequirement getUpgradeRequirement(int tierLevel)public
int hashCode()@Override
publicstatic
void registerRootInteraction(BenchType benchType, RootInteraction interaction)public
com.hypixel.hytale.protocol.Bench toPacket()public
String toString()@Override
Fields
Protected Fields (16)
protected
String benchUpgradeCompletedSoundEventIdprotected
transient int benchUpgradeCompletedSoundEventIndexprotected
String benchUpgradeSoundEventIdprotected
transient int benchUpgradeSoundEventIndexprotected
String completedSoundEventIdprotected
transient int completedSoundEventIndexprotected
String descriptiveLabelprotected
String failedSoundEventIdprotected
transient int failedSoundEventIndexprotected
String idprotected
String localCloseSoundEventIdprotected
transient int localCloseSoundEventIndexprotected
String localOpenSoundEventIdprotected
transient int localOpenSoundEventIndexprotected
BenchTierLevel[] tierLevelsprotected
BenchType type