File Details
[1.16.2] v0.8.1
- R
- Aug 26, 2020
- 411.52 KB
- 67.4K
- 1.16.2
- Fabric
File Name
libblockattributes-all-0.8.1.jar
Supported Versions
- 1.16.2
Curse Maven Snippet
Breaking Changes:
-
Fixed a spelling mistake: "FluidTemperature.addTemperatueToTooltip" to "FluidTemperature.addTemperatureToTooltip".
- Usually badly named methods won't be renamed, however fluid temperatures haven't been out for very long.
- Changed the requirements for ItemFilter.matches to no longer return useful results for empty stacks - instead callers are expected to handle testing for empty stacks themselves.
- Changed BiomeSourcedFluidVolume no longer extend WeightedFluidVolume<Biome>. It now extends ColouredFluidVolume instead.
- As such water no longer stores the exact biome that it was pumped from, instead it only stores the colour.
Changes:
- Updated to be compatible with minecraft 1.16.2, which is now required for the fluids module.
- Added FluidWorldUtil.fill, for placing fluid volumes into the world. (Shartte)
- Added mixin's to hoppers and droppers to make them insert into LBA inventories. (Shartte)
- Added FluidAmount.MAXBUCKETS and MINBUCKETS, which have a whole of Long.MAXVALUE and MINVALUE, but a numerator of 0.
- Changed FluidAmount.saturated* to return MAXBUCKETS and MINBUCKETS instead of MAX_VALUE as that's much more useful.
- Added ResolvableItemFilter and ResolvableFluidFilter, for filters that can be resolved into a ReadableFluidFilter.
- Fixed "FixedInventoryViewVanillaWrapper.getInvStack" copying the inventories stack when it doesn't need to.
- Added various "toMcBuffer" methods to fluid keys, volumes, and properties.
-
Added FixedItemInv.insertStack and FixedItemInv.extractStack for inserting and extracting stacks from specific slots.
- The signature is identical to ItemInvUtil.insertSingle and extractSingle, which are now deprecated.
- Allowed BlockEntities to implement AttributeProviderBlockEntity as well as blocks to also expose attributes.
- Added various methods to Attribute to map BlockEntity-based stuff (classes, attributes, BlockEntityType) to external attribute adders.
- Allowed custom fluids to use alpha in their colours, and made the default fluid renderer use it.
Bug Fixes:
- [#22] Fix a crash on dedicated servers.
- [#23] Fluids don't render in GUIs when using fabulous graphics mode.
- [#34] Downgrade sanity check crash to a warning when a mod's mixin makes Block directly implement InventoryProvider.