Index
All Classes and Interfaces|All Packages
C
- close() - Method in class com.teampotato.potacore.iteration.FilterableIterator
- close(Iterator<?>) - Static method in interface com.teampotato.potacore.iteration.CloseableIterator
-
Close a iterator if it is closeable.
- close(Iterator<?>...) - Static method in interface com.teampotato.potacore.iteration.CloseableIterator
-
Close iterators if they're closeable.
- CloseableIterator<T> - Interface in com.teampotato.potacore.iteration
-
Interface to concat
IteratorandAutoCloseable - com.teampotato.potacore - package com.teampotato.potacore
- com.teampotato.potacore.client - package com.teampotato.potacore.client
- com.teampotato.potacore.entity - package com.teampotato.potacore.entity
- com.teampotato.potacore.item - package com.teampotato.potacore.item
- com.teampotato.potacore.iteration - package com.teampotato.potacore.iteration
E
- EnchantHelper - Class in com.teampotato.potacore.item
-
Provides utility methods for manipulating enchantments on items and enchanted books.
- EnchantHelper() - Constructor for class com.teampotato.potacore.item.EnchantHelper
F
- FilterableIterator<K> - Class in com.teampotato.potacore.iteration
-
Alternative of
Iterators.filter(Iterator, com.google.common.base.Predicate), but auto closeable - FilterableIterator(Iterator<K>, Predicate<K>) - Constructor for class com.teampotato.potacore.iteration.FilterableIterator
- forEach(Consumer<? super T>) - Method in class com.teampotato.potacore.iteration.MergedIterable
- forEachRemaining(Consumer<? super K>) - Method in class com.teampotato.potacore.iteration.FilterableIterator
G
- get(String) - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Retrieves a configuration value without explicit type checking.
- get(String, Class<T>) - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Type-safe method to retrieve a configuration value.
H
- handle(Entity, Entity, Runnable) - Static method in class com.teampotato.potacore.entity.ProjectileHelper
-
Processes the specified entities with the given action, avoiding duplicate processing when both parameters refer to the same entity.
- hasNext() - Method in class com.teampotato.potacore.iteration.FilterableIterator
- hasNext() - Method in class com.teampotato.potacore.iteration.MergedIterator
I
- isUseIterator1() - Method in class com.teampotato.potacore.iteration.MergedIterator
- iterator() - Method in class com.teampotato.potacore.iteration.MergedIterable
L
- LOGGER - Static variable in interface com.teampotato.potacore.iteration.CloseableIterator
-
Closing exception logger
M
- MergedIterable<T> - Class in com.teampotato.potacore.iteration
-
Merge two iterables together and iterate through them one by one.
- MergedIterable(Iterable<T>, Iterable<T>) - Constructor for class com.teampotato.potacore.iteration.MergedIterable
- MergedIterable(Iterator<T>, Iterator<T>) - Constructor for class com.teampotato.potacore.iteration.MergedIterable
- MergedIterator<T> - Class in com.teampotato.potacore.iteration
-
Merge two iterators together and iterate through them one by one.
- MergedIterator(Iterable<T>, Iterable<T>) - Constructor for class com.teampotato.potacore.iteration.MergedIterator
- MergedIterator(Iterator<T>, Iterator<T>) - Constructor for class com.teampotato.potacore.iteration.MergedIterator
N
- next() - Method in class com.teampotato.potacore.iteration.FilterableIterator
- next() - Method in class com.teampotato.potacore.iteration.MergedIterator
P
- Potacore - Class in com.teampotato.potacore
-
Main entrypoint.
- Potacore() - Constructor for class com.teampotato.potacore.Potacore
- ProjectileHelper - Class in com.teampotato.potacore.entity
-
A utility class for handling projectile-related entity operations with deduplication logic.
- ProjectileHelper() - Constructor for class com.teampotato.potacore.entity.ProjectileHelper
- put(String, Object) - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Stores a key-value pair in the configuration and immediately persists to disk.
R
- reloadConfig() - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Reloads the configuration from disk, discarding any unsaved changes.
- remove() - Method in class com.teampotato.potacore.iteration.FilterableIterator
- remove() - Method in class com.teampotato.potacore.iteration.MergedIterator
- removeEnchantment(ItemStack, Enchantment) - Static method in class com.teampotato.potacore.item.EnchantHelper
-
Removes a specific enchantment from an item stack or enchanted book.
- removeEnchantment(ItemStack, ResourceLocation) - Static method in class com.teampotato.potacore.item.EnchantHelper
-
Removes a specific enchantment from an item stack using its registry name.
- removeEnchantments(ItemStack, Iterable<Enchantment>) - Static method in class com.teampotato.potacore.item.EnchantHelper
-
Removes multiple enchantments from an item stack.
S
- saveConfig() - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Saves the current configuration state to the JSON file.
- SimpleJsonConfig - Class in com.teampotato.potacore.client
-
Manages a JSON-based configuration file with simple key-value storage.
- SimpleJsonConfig(Path) - Constructor for class com.teampotato.potacore.client.SimpleJsonConfig
-
Constructs a new configuration for the specified file path.
All Classes and Interfaces|All Packages