All Mods Resource Packs Data Packs Shaders Modpacks Plugins
eggolib

eggolib

by eggohito • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

eggolib

JitPack GitHub issues GitHub Pull Requests

Required on the client and the server!

eggolib is a Fabric mod library that extends the functionality of Apoli for funsies. This mod library adds new power, condition and action types to be used for developing Origins/Apoli datapacks.

See here for the documentation for eggolib.

Q: Are the versions for 1.18.x going to be updated? A: Probably not, since it'd be quite a task for me to maintain versions for different Minecraft versions.

Q: Can you back-port this to X? A: The same answer from above still applies, but if you can or want to, feel free!

Using as a dependency

You can use eggolib as a dependency by modifying the gradle.properties and build.gradle files of your project, like so: (You can remove the include part if you don't want to include eggolib in your project)

build.gradle

repositories {
    maven {
        url "https://jitpack.io"
    }
}

dependencies {
    modImplementation "com.github.eggohito:eggolib:${project.eggolib_version}"
    include "com.github.eggohito:eggolib:${project.eggolib_version}"
}

gradle.properties

eggolib_version=[INSERT VERSION HERE]

How to Install eggolib (Mod)

eggolib by eggohito is verified for Fabric across Minecraft versions 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20 (latest release: 1.10.4-1.20, file size: 2.6 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded eggolib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.2
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.4
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.19
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.18.1
Fabric
last yr. 1
## Changes
  • Migrated to using a data tracker (from a CCA component) for syncing command tags.

## Fixes
  • Fixed leash bi-entity action type dropping leash item when detached.
  • Fixed eggolib using a wrong version of Modmenu as a dependency.
## Changes
  • Migrated to using a data tracker (from a CCA component) for syncing command tags.

## Fixes
  • Fixed leash bi-entity action type dropping leash item when detached.
## Fixes
  • (#50) Fixed mod dependency resolution (should now work with newer versions of Fabric API/Loader.)
## Fixes
  • Temporarily fixed lag issue with Apoli setting the holder of an item stack.
  • (#50) Fixed mod dependency resolution (should now work with newer versions of Fabric API/Loader.)
## This is a backport of [v1.10.0 (1.20.2)](https://github.com/eggohito/eggolib/releases/tag/v1.10.0-1.20.2), with some notable differences:
  • The **NBT operation/operator** data types are still re-using vanilla's NBT operation/operator classes.
  • The modify_riding_position and modify_passenger_position power types are currently not re-implemented due to its dependence on a method that only existed in Minecraft versions 1.20.2 and above for its implementation.
## Fixes
  • Fixed eggolib:misc CCA component breaking pre-set command tags.
## Fixes
  • Fixed issue with message filters/consumers
## Changes
  • Updated to Minecraft 1.20.2
  • Removed some power/condition/action types that are now available in Apoli.
  • The end bound for the linear-interpolated FOV multiplier is no longer affected by the affected_by_fov_effect_scale field of the modify_fov power type.
  • Changed the object at which the **NBT operation/operator** data types operate on.
  • Improved object-based packet implementation.
  • Added should_resolve boolean field to modify_label_render power type, with a default value of true (set this to false if you don't plan on using [text components which require resolution.](https://minecraft.wiki/w/Raw_JSON_text_format#Component_resolution))

## Fixes
  • Fixed open_inventory entity action type not opening the inventory of the entity that invoked the action if no power is specified (for real this time.)

## Additions
  • New power type: pose, which sets the pose of the entity that has the power (may not work for certain poses for certain entities). It supports a pose field, which then supports these values: standing, fall_flying, sleeping, swimming, spin_attack, crouching, long_jumping, dying, croaking, using_tongue, sitting, roaring, sniffing, emerging, digging.
  • New entity condition type: in_pose, which checks the entity's current pose. It supports a pose field.
  • New data type: **message filter**, used for executing an entity action if a message matches the specified filter. It supports these fields:
  • filter; the string used as the filter for matching the message. Supports regular expressions.
  • entity_action; an optional entity action field, which will be executed upon the message matching the filter.
  • New data type: **message consumer**, used for executing entity actions if a message matches the specified filter. It supports these fields:
  • filter; the string used as the filter for matching the message. Supports regular expressions.
  • before_action/after_action; an optional entity action field. When this entity action is invoked will depend on the power type.
  • New data type: **message replacer**, used for replacing a message and executing entity actions if the message matches the specified filter. It supports these fields:
  • filter; the string used as the filter for matching the message. Supports regular expressions.
  • before_action; an optional entity action field, which will be executed *before* the message is replaced.
  • after_action; an optional entity action field, which will be executed *after* the message has been replaced successfully (e.g: the message is no longer as it was.)
  • New power type: action_on_sending_message, which executes an action upon sending a message. It supports these fields:
  • message_type; determines whether the actions should be executed if the message is of this type. [See here for a list of vanilla message types](https://minecraft.wiki/w/Chat_type)
  • filter/filters; optional **message consumer(s)** fiel
...
[v1.9.1-1.20] eggolib v1.9.1 by eggohito on Feb 04, 2024
Download
# Changelog

## Changes

  • The current screen and perspective is now only synced after a certain amount of ticks (controlled by the syncTickRate field in the client config.)
  • Simplified the attack distance scaling factor implementation of the eggolib:invisibility power type.
  • Optimized implementation of syncing command tags.

## Fixes

  • Fixed performance issue with setting the item stack's holder.
  • Fixed open_inventory entity action type not opening the entity's inventory if no power is specified.

[v1.9.0-1.20] eggolib v1.9.0 by eggohito on Jul 25, 2023
Download
## Changelog

  • Updated to 1.20.x
  • Added tooltip power type
  • Similar to Apoli's tooltip power type, except it can resolve JSON text component on the server-side
  • Added these new entity action types:
  • grant_advancement
  • revoke_advancement
  • Both are similar to Apoli's *_advancement entity action types, except it's more functionally similar to the /advancement command
  • Added these new item action types:
  • execute_command
  • copy_to_storage
  • Added type damage condition type


## Changelog

  • Added tooltip power type
  • Similar to Apoli's tooltip power type, except it can resolve JSON text component on the server-side
  • Added these new entity action types:
  • grant_advancement
  • revoke_advancement
  • Both are similar to Apoli's *_advancement entity action types, except it's more functionally similar to the /advancement command
  • Added these new item action types:
  • execute_command
  • copy_to_storage
  • Added type damage condition type


## Changelog

  • Updated to 1.19.4
  • Updated testdata
  • Added these new power types:
  • prevent_key_use
  • stat
  • Updated the invisibility power type:
  • It now affects the attack distance scaling factor of mobs
  • Added these new entity condition types:
  • in_snow
  • in_thunderstorm
  • has_spawnpoint
  • Added these new bi-entity condition types:
  • colliding
  • owner
  • Similar to Apoli's owner bi-entity condition type, except it works for other ownable entities
  • Added command block condition type
  • Added modify item action type
  • Similar to Apoli's modify item action type, except with more loot context
  • Added fuel item condition type


## Changelog

  • Added the modify_fov power type
  • Updated the modify_label_render power type
  • Now parses the specified JSON text component in the text field
  • Now has a before_parse_action and after_parse_action entity action fields
  • Now has a tick_rate positive integer field
  • Added the exposed_to_weather entity condition type
  • Updated the scoreboard entity condition type
  • Now accepts a score holder in its name field
  • Updated the inventory entity condition type
  • Now has a comparison and compare_to fields

eggolib Icon
Download eggolib
Select game version
Select platform