Mod KubeJS Additions by ILIKEPIEFOO2
- 60.75 KB
- 1.18.2
- March 16, 2022
- September 26, 2023
- API and LibraryEnergy, Fluid, and Item TransportKubeJSUtility & QoL
Name | KubeJS Additions | Author | ILIKEPIEFOO2 | Description | [NEW] Allows you to listen to any arbitrary Fabric or Architectury Event. As well as provide additional functionality not in KubeJS already. |
---|---|---|---|---|---|
Information | Downloads: Version: 1.18.2 Size: 60.75 KB Updated at: September 26, 2023 Created at: March 16, 2022 | Tags | API and Library Energy, Fluid, and Item Transport KubeJS Utility & QoL |
KubeJS Additions
You can now listen to any Fabric or Arch event in 1.18.2 or 1.19.2
Examples found on GitHub here
You can also find a full list of example events on KubeJS's discord in this thread.
Additions For 1.16.5 (as of v1.1.1):
- Most Wrapper Classes now have the same methods as their native Minecraft Classes.
- See mixin files located here for full method list
Additions For 1.18.2 (as of v2.0.1):
- Player Respawn Event (player.respawn)
- Player Clone Event (player.clone)
- Player Change Dimension Event (player.change_dimension)
- Entity Enter Chunk Event (entity.enter_chunk)
- Farmland Trample Event (block.trample)
Modifications:
- Fluid.of now accepts fluid tags.
- Recipes expecting FluidStacks can now use a FluidTag.
QOL Changes:
- Fluid.of will accept tags for recipes.
WorldJS Additions:
- Enabling/Disabling Force Loaded Chunks
- Listing all Force loaded Chunks
- Ticking Chunks
- Finding the nearest Biome to a position
- Finding the nearest Map Feature to a position
- Spawn a prebuilt netherportal at a location
- Select a random player on a server.
PlayerJS Additions:
- Force drop a specific item from inventory
- Get the mining speed for a specific block
- Check whether a player can harvest a specific block
- Check if a player can harm another player
- Force a player to interacting with an entity using a specific hand
- Force a player to attack an entity
- Disable a player's shield.
- Force player to sleep anywhere/wake up
- Find a player's bed position
- Add to a player's stats.
- Toggle a player's elytra
- get/set/modify food/saturation/exhaustion levels
- Magically give a player food/saturation
- Force player to eat specific item.
- Retrieve a player's enderchest inventory.
- Check/Remove/Give item cooldowns to the player.
- Get the ammo for a Bow-like item in a player's inventory.
- Get a player's armor level.
- Force a player to push another entity as if they were cramped together.