Class LecternHasBookMap

java.lang.Object
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
org.geysermc.geyser.util.collection.FixedInt2BooleanMap
org.geysermc.geyser.util.collection.LecternHasBookMap
All Implemented Interfaces:
it.unimi.dsi.fastutil.Function<Integer,​Boolean>, it.unimi.dsi.fastutil.ints.Int2BooleanFunction, it.unimi.dsi.fastutil.ints.Int2BooleanMap, Serializable, Function<Integer,​Boolean>, IntPredicate, Map<Integer,​Boolean>

public class LecternHasBookMap extends FixedInt2BooleanMap
Map that takes advantage of its internals for fast operations on block states to determine if they are lecterns.
See Also:
Serialized Form
  • Nested Class Summary

    Nested classes/interfaces inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap

    it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap.BasicEntry, it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap.BasicEntrySet

    Nested classes/interfaces inherited from interface it.unimi.dsi.fastutil.ints.Int2BooleanMap

    it.unimi.dsi.fastutil.ints.Int2BooleanMap.Entry, it.unimi.dsi.fastutil.ints.Int2BooleanMap.FastEntrySet
  • Field Summary

    Fields inherited from class org.geysermc.geyser.util.collection.FixedInt2BooleanMap

    start, value

    Fields inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction

    defRetValue
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleBlockChange​(GeyserSession session, int blockState, com.nukkitx.math.vector.Vector3i position)
    Update a potential lectern within the world.

    Methods inherited from class org.geysermc.geyser.util.collection.FixedInt2BooleanMap

    containsKey, containsValue, get, getOrDefault, int2BooleanEntrySet, put, size, toString

    Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap

    equals, hashCode, isEmpty, keySet, putAll, values

    Methods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction

    defaultReturnValue, defaultReturnValue

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface it.unimi.dsi.fastutil.Function

    apply

    Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2BooleanFunction

    andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, compose, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, remove, test

    Methods inherited from interface it.unimi.dsi.fastutil.ints.Int2BooleanMap

    clear, compute, compute, computeIfAbsent, computeIfAbsent, computeIfAbsent, computeIfAbsentNullable, computeIfAbsentPartial, computeIfPresent, computeIfPresent, containsKey, containsValue, defaultReturnValue, defaultReturnValue, entrySet, forEach, get, getOrDefault, merge, merge, put, putIfAbsent, putIfAbsent, remove, remove, remove, replace, replace, replace, replace

    Methods inherited from interface java.util.function.IntPredicate

    and, negate, or

    Methods inherited from interface java.util.Map

    replaceAll
  • Constructor Details

    • LecternHasBookMap

      public LecternHasBookMap()
  • Method Details

    • handleBlockChange

      public void handleBlockChange(GeyserSession session, int blockState, com.nukkitx.math.vector.Vector3i position)
      Update a potential lectern within the world. This is a map method so it can use the internal fields to optimize lectern determining.