Trashlib

Trashlib

Mod

A library mod that adds utility methods that are used by trashoflevillage mods.

Client and server Library

111 downloads
0 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
  • Added TrashlibRecipeGenerator
  • Renamed TrashsBlockLootTableProvider to TrashlibBlockLootTableProvider
  • Added TrashsBlockLootTableProvider
  • Hotfix for the sphere null check only applying to the outer layer of a sphere.
  • GenHelper.sphere() now skips over null blockstates
  • Updated GenHelper
  • Added GenHelper and Sphere methods
  • register() in ConfiguredFeatureInitializer and PlacedFeatureInitializer renamed to registerKey().
  • ModFeatures class renamed to TrashlibFeatures, and is now public.
  • CrystalSpikeFeature will no longer attempt to place blocks in invalid locations.
  • CrystalSpikeFeature generation slightly tweaked to have less air gaps.
  • Added ConfiguredFeatureInitializer and PlacedFeatureInitializer
  • Added CrystalSpikeFeature
  • Renamed Initializer to AbstractInitializer
  • Made AbstractInitializer public
  • Fixed FeatureInitializer#register not being public
  • Fixed ItemInitializer's constructor not being public
  • Overhauled how Initializers work internally, and renamed some methods.
  • Added FeatureInitializer
  • Added description support to lang files
    • Add a description to any block or item by appending ".description.n" to their original translation key, with n being the line number.
      • For a line to render, there must be a line immediately before it, unless it's index 0. (E.g. you can't have line 5 without having line 4, or line 4 without having line 3, but 0 doesn't need a line before it.)
  • Fixed initializing blocks crashing the game
  • ItemInitializer and BlockInitializer should now be instantiated rather than referenced in a static context.
  • Block Items are now automatically registered alongside blocks by default
  • Fixed fabric.mod.json
  • Fixed incorrect licensing

Initial Release


Project members

trashoflevillage

Member

Details

Licensed MIT
Published 21 days ago
Updated 7 days ago