XunLib 3.0.0
Curse Maven Snippet
What's new
Xunlib v3.0.0
Added
- Added the
Areautility class for representing rectangular areas. It provides helpers for offsetting, insetting, expanding, and checking whether a point is contained within an area. - Added
TerrainAwareJigsawStructure. - Added
BlockEntityTypeFactory, which works likeBlockEntitySupplierbut allowsBlockEntityTypeinstances to be created in the common source set using XunLib's transformed access toBlockEntitySupplier. - Added a complete configuration system. See the wiki for documentation and usage details.
- Added the
ArmorSetandToolSetAPIs from the Armory API. See the Armory API changelog for additional details.
Changed
- Renamed
TickingEntityBlocktoITickingEntityBlock. - Moved
InventoryPredicatestoapi.inventoryand renamed it toItemStackPredicate. - Moved color utilities from
misc.colortoutil.color. - Renamed
IColorBasetoIColor. - Renamed
RGBColortoARGBColor. - Renamed utility classes ending in
UtilstoUtil. - Split
CommonUtilsintoResourceUtilandTranslationUtil. - Renamed
ArmorSlotsUtilstoEquipmentSlotUtil.- It now uses
net.minecraft.world.entity.EquipmentSlotrather than fixed slot indexes.
- It now uses
- Renamed
MobEffectUtilstoMobEffectUtil.- Renamed
applySingleEffecttoapplyEffect. - Renamed
applyEffectsWithStrategytoapplyEffectWithStrategy.
- Renamed
- Renamed
PlayerInventoryUtilstoPlayerInvUtil. - Moved the
TakeOnlySlotclass fromapi.inventory.slottoapi.block.entity.container.slot. - Moved the entire registration API from
api.registriestoapi.registration. - Refactored
EffectStackingStrategyinto an interface with a singleapply(LivingEntity, MobEffectInstance, MobEffectInstance)method. - Added the
EffectStackingStrategiesclass containing the built-in stacking strategies, allowing custom strategies to be implemented more easily.
Removed
- Removed
api.inventory.slot.SlotGetter. - Removed the
api.item.fuzzypackage and its contents, includingFuzzyMatcher, as the API was no longer considered useful. - Removed the HSL color implementation.
- Removed
ColorCombiner. - Removed
hasEffect(LivingEntity, MobEffectInstance)fromMobEffectUtil. - Removed
clearEffectandclearEffectsfromMobEffectUtil, as they were only wrappers around single-line operations. - Removed fixed-index slot handling from
ArmorSlotsUtilsin favor ofEquipmentSlot.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

