nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
NyaLib

NyaLib

Mod

A pretty UwU library mod providing Energy/Item/Fluid API, block networking, block templates, capabilities and more

Client and server Library

812 downloads
2 followers
Filter loader...
  • Fix a crash when checking block interactions with non NyaLib fluids
  • Don't register a bucket automatically if a item bucket is provided
  • Add a block item color multiplier to automatically registered fluids with color
  • Fix a crash in ItemHandlerInventoryBlockCapability
  • Fix a crash in BucketItemMixin.playEmptySound
  • Add HasSmeltingReturnStack
  • Custom block interactions with fluids
  • Fluids can now specify which one has a priority when they want to spread into the same block
  • Added a way to create a fluid using only a color multiplier
  • Fix MultipartComponent.onBreak not being called on server and sounds not working
  • Fix a crash when right clicking a block with empty hand in multiplayer
  • Fix a crash on server when using buckets

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
  • Fix production building
  • Add getRemainingFluidCapacity method to Fluid Handlers
  • OwO Whats This Compat
  • Capabilities
    • ItemHandler capability
    • Capability Providers and registry
    • Block Capabilities
      • Energy Storage
      • Energy Handler
      • Item Handler
      • Fluid Handler
    • Item Capabilities
      • Energy Storage
      • Item Handler
      • Fluid Handler
    • Entity Capabilities
      • Energy Storage
      • Item Handler
      • Fluid Handler
  • Add FluidHandler interfaces for entities and items
  • Improve block FluidHandler interface
  • Removed unnecessary methods in ItemHandler
  • Improved documentation
  • DropInventoryOnBreak interface
  • Fixed networks still saving in read-only mode
  • Do not run network processing code (adding, removing, creating etc.) on remote worlds
  • Modularize the library
  • Block Templates
    • Button
    • Fence
    • Fence Gate
    • Pane
    • Pressure Plate
    • Slab
    • Stairs
    • Wall
  • Updated dependencies
  • Initial Modrinth Release
  • Fix CME when a component was disconnected when drawing power
  • Block/Entity/Item Capabilities
  • Cleanup some Handler methods
  • Fix wording in some docs

External resources


Project members

DanyGames2014

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID