Changelog
- Fixes to Sponge8-11 component serialization
- Fixed
SpongeEntity.getType
returning a properly formatted entity resource - Reworked the entire event system
- Added
getEntity
toAbstractEntity
implementations - Removed redundant event abstraction
- Reworked TaterLib PlayerListener and reload command
- Implemented
EntitySpawnEvent
for 1.7.10-b1.7.3 - Implemented rudimentary
PlayerDeathEvent
for b1.7.3 - Added support for NeoForge 1.20.2
- Removed the
...taterlib.{platform}.abstractions
package name - Renamed
...taterlib.{platform}.abstractions.events
to...taterlib.{platform}.event.api
- Moved
...taterlib.{platform}.abstractions.item.*
to...taterlib.{platform}.inventory
- Moved
...taterlib.{platform}.player.PlayerInventory
to...taterlib.{platform}.inventory.PlayerInventory
- Removed the
Abstract
prefix from all common interfaces - Added the ability to set a player's prefix/suffix
- Added numerical permission checks to
Player
for Forge/Fabric - Abstracted Brigadier commands
- Abstracted simple commands
- Simplified Plugin abstractions so depending on TaterLib is easier
- Refactored TaterLib helper methods to be wrapped in the
TaterAPI
class - Added MinecraftVersion and ServerType enums.
- Created
TaterAPI#isBrigadierSupported()
- Abstracted plugin/mod isLoaded checks
Player
now inheritsEntity
- Added
Entity#teleport(Location)
andEntity#teleport(Entity)
- Abstracted brigadier helper into a wrapper class
- Implemented registering simple commands for Forge/Fabric
- Updated database utils
- Added
Server
abstraction andTaterAPI#getServer()
- Ported to:
- 1.20.4
- Bukkit 1.8.8, 1.13.2
- BungeeCord 1.4.7, 1.8, 1.12
- Fabric 1.7.10, 1.8.9, 1.9.4, 1.10.2, 1.11.2, 1.12.2
- Forge 1.7.10, 1.8.9, 1.9.4, 1.10.2, 1.11.2, 1.18.2, 1.19.2, 1.19.4
- Sponge 4, 5
- Abstracted
ProxyPlayer
s, specifically adding aconnect
method - Added
Block
abstraction andBlockBreakEvent
- Updated
Server
implementation and addedProxyServer
for proxies - Added
ServerEvent#getServer()
- Fixes to
BukkitPlayerAdvancementEvent
getPlayer
was returning nullgetAdvancement
was returning the wrong string
- Abstracted
TaterAPI#registerChannels(Set<String>)
intoRegisterPluginMessagesEvent
- Added
PluginEnableEvent
andPluginDisableEvent
- Modified TaterAPIProvider to handle multiple API implementations simultaneously
- Added basic hybrid API hooks: Arclight, Ketting, Magma, Mohist
- Renamed
isPluginLoaded
toisPluginModLoaded
and split it intoisPluginLoaded
andisModLoaded
, while adding helper instantiations from hybrid hooks - Added
Server#broadcastMessage(String)
- Renamed path
dev.neuralnexus.taterlib.common
todev.neuralnexus.taterlib
to simplify imports - Improved the hook system to allow for multiple permission managers to be used simultaneously
- Build system overhaul, no sketchy
build.sh
anymore - Added
GameMode
enum,Player#getPing()
,Player#getGameMode()
andPlayer#setGameMode()
- Added
Sender#isPlayer()
- Fixed
Entity#teleport(Location)
andEntity#teleport(Entity)
in cross-dimensional cases - Added
Player#getIPAddress()
- Created a custom loader implementation, to allow for better compatibility with hybrids, Sinytra Connector, and SpongeForge
- Added
SpongeForge
server type - Added Brigadier support for Sponge and Bukkit
- Renamed
Sender
toCommandSender
- Split
Server
intoSimpleServer
andProxyServer
- Added some tests and more
MinecraftVersion
utilities - Renamed
Event
toEventManager
and created a baseEvent
interface - Added
Event#getName()
- Created generic event handler
- Renamed
PluginMessageEvents
toNetworkEvents
- Split out
SimplePlayer
andProxyPlayer
- Created
Connection
interface for kick/disconnect/ping/pluginMessage - Loader can now detect and register more plugin instances in multi-API environments
- Added
ServerType.NEOFORGE_HYBRID
- Events should no longer register twice in multi-API environments
- Pulled
CommonPluginEnableEvent
into the loader - Added
Damageable
andLivingEntity
interfaces - Added dummy entity interfaces all set up for adding new Entity interfaces
- Added
Player.allowFlight
/canFly
/isFlying
/setFlying
- Added single-version support for
MinecraftVersion.parseRange
- Used configurate to create config system
- Refactored TaterLib common logic into CommonModule, added TaterModuleLoader, and overall improved module support
- Reformatted getters to be more idiomatic (e.g.
getInventory
->inventory
) - Refactor
Player.serverName
intoPlayer.server().name()
and addServer#name()
- Added
Permissible
toCommandSender
, refactored permission hooks to usePermissible
- Added
ModInfo
andPluginInfo
abstractions - Added
DumpInfo
andFullDumpInfo
, along with the/taterlib dump | fulldump
commands - Added bStats support for Bukkit, Bungee, Sponge, and Velocity
- Added Arclight Fabric server type
- Merged
ItemMeta
intoItemStack
- Created player metadata API
- Added
Server.currentTPS()
,SimpleServer.getPlayer(String)
, andSimpleServer.getPlayer(UUID)
PlayerServerSwitchEvent.toServer
/fromServer
now return aServer
rather than aString
- Overhauled the
Inventory
/PlayerInventory
interfaces - Created
World
andServerWorld
abstractions
Dependencies
Files
taterlib-1.18.2-1.1.0.jar(9.25 MiB) Primary
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
1.18.21.1.0Loaders
BukkitBungeeCordFabricForgePaperPurpurQuiltSpigotSpongeVelocityWaterfall
Game versions
1.18.2Downloads
42Publication date
February 27, 2024 at 11:54 PMPublisher
p0t4t0sandwich
Owner