Index
All Classes and Interfaces|All Packages
C
- clearAll() - Method in class com.teampotato.potacore.data.PotatoEntityData
- 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.data - package com.teampotato.potacore.data
- 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
- com.teampotato.potacore.util - package com.teampotato.potacore.util
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
- fromTag(Tag) - Static method in class com.teampotato.potacore.util.NBTUtils
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.
- get(ServerLevel) - Static method in class com.teampotato.potacore.data.PotatoEntityData
- getAs(UUID, String, Class<T>) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getByte(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getCompound(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getData(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getDataMap(UUID) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getDouble(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getFloat(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getInt(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getList(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getLong(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getShort(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- getString(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
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
- load(CompoundTag) - Static method in class com.teampotato.potacore.data.PotatoEntityData
- LOGGER - Static variable in interface com.teampotato.potacore.iteration.CloseableIterator
-
Closing exception logger
- LOGGER - Static variable in class com.teampotato.potacore.Potacore
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
- NBTUtils - Class in com.teampotato.potacore.util
- NBTUtils() - Constructor for class com.teampotato.potacore.util.NBTUtils
- 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
- PotatoEntityData - Class in com.teampotato.potacore.data
- PotatoEntityData() - Constructor for class com.teampotato.potacore.data.PotatoEntityData
- 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
- removeData(UUID) - Method in class com.teampotato.potacore.data.PotatoEntityData
- removeData(UUID, String) - Method in class com.teampotato.potacore.data.PotatoEntityData
- 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
- save(CompoundTag) - Method in class com.teampotato.potacore.data.PotatoEntityData
- saveConfig() - Method in class com.teampotato.potacore.client.SimpleJsonConfig
-
Saves the current configuration state to the JSON file.
- setData(UUID, String, Object) - Method in class com.teampotato.potacore.data.PotatoEntityData
- setDataMap(UUID, Map<String, Object>) - Method in class com.teampotato.potacore.data.PotatoEntityData
- 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.
T
- toTag(Object) - Static method in class com.teampotato.potacore.util.NBTUtils
All Classes and Interfaces|All Packages