Tags
Creators
Details
Licensed MIT
Published last year
Updated 3 months ago
All versions
0.18.0
Release
NyaLib 0.18.06 months ago 37
Compatibility
Minecraft: Java Edition
b1.7.3
Platforms
Babric
Fabric
Supported environments
Client and server
Required content
Any compatible version
Any compatible version
Changes
General
- Finish modularizing the API
Base
- Abstract setBlockState in Structure to a overrideable method
Block
- BlockEntityInit interface
- Voxel Shapes (Thanks to Slainlight)
- Added Redstone API
Block Networks
- Fix FlattenedChunkMixin crashing in production (AlphaMode)
- Add an ability to fetche edge and non-edge nodes in a Network
- Improve Block Network loading resilience and error correction
Block Templates
- Add opening and closing sound to the template fence gate
- Fix erroneously loading json overrides on server
- Fix several crashes when requesting collision/bounding box of a template block which was broken
- Fix collision shape and bounding box of panes and fences
Capability
- Add Block Entity related methods to CapabilityHelper
Compat
- Do not show the fluid amount in Whats This when the tank is empty
- Fix NyaLib hard depending on WhatsThis
- New graphic for WhatsThis fluid tooltip integration
Energy API
- Fix energy pathfinding thru edge nodes
- Fix energy not pathing thru initial block
- Improve EnergyNetwork energy distribution and use fastutil
Fluid API
- Fix a crash in getRemainingCapacity when Fluid is null
- Add FluidSlots to ScreenHandlers
- Automatically register fluid buckets
- Add automatic fluid blocks with animated texture support
- Added fluid screen overlay, custom swim speed and drowning in fluids
- Add an AfterFluidRegistryEvent
- Fix a server crash when registering fluid colors
- Respect when fluids are not placeable in world
- Rewrite the logic of putting fluids in and out of tanks in the ScreenHandler
- Milk is now a fluid
- Fluids will now try to find the closest map color before creating a new one
- Custom fluid slot rendering and size
- Add Simple and Managed Handlers for blocks, entities and items
Item API
- Disable simplified furnace handling by default
- Add an extractItem with an Item and meta parameter
- Fix a crash in ItemHandler when null Item is supplied
- Add shouldDropStack into DropInventoryOnBreak
- Add Managed handlers for blocks, entities and items
- Add slot locking via LockableSlot and SlotLockingItem
- Added EnhancedPlacementContextItem
Multipart API
- Added Multipart API
- Multiparts allow you to create multipart components which can exist in any block space
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:qPG3YJgC:RQLp2usZ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:qPG3YJgC:RQLp2usZ"
}

