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>
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.BasicEntrySetNested 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, valueFields inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
defRetValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBlockChange(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, toStringMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanMap
equals, hashCode, isEmpty, keySet, putAll, valuesMethods inherited from class it.unimi.dsi.fastutil.ints.AbstractInt2BooleanFunction
defaultReturnValue, defaultReturnValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.unimi.dsi.fastutil.Function
applyMethods 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, testMethods 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, replaceMethods inherited from interface java.util.function.IntPredicate
and, negate, orMethods 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.
-