Class EventSlotMapper<EventType extends Enum<EventType>>
java.lang.Object
com.hypixel.hytale.server.npc.asset.builder.EventSlotMapper<EventType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.ints.Int2DoubleMapprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetEventSlot(EventType type, int set, double maxRange) intit.unimi.dsi.fastutil.ints.Int2DoubleMap
-
Field Details
-
eventSets
-
eventSlotMappings
-
eventSlotRanges
private final it.unimi.dsi.fastutil.ints.Int2DoubleMap eventSlotRanges -
nextEventSlot
private int nextEventSlot
-
-
Constructor Details
-
EventSlotMapper
-
-
Method Details
-
getEventSets
-
getEventSlotMappings
-
getEventSlotRanges
@Nonnull public it.unimi.dsi.fastutil.ints.Int2DoubleMap getEventSlotRanges() -
getEventSlotCount
public int getEventSlotCount() -
getEventSlot
-