For consistency, this meant making a few changes:
- Renamed the existing lazy mapping method to lazyMap, to indicate that it doesn't run the mapping immediately.
- Added a new implementation of map(), which returns Optional<T>, and resolves the value in the process.
- Changed filter() to return Optional, since there's no way to filter lazily.
- Added a new method resolve(), which helps convert the custom LazyOptional class into a standard Optional, for use
with library methods that expect Optional<T>.
* Update License headers.
Introduced IModBusEvent as a marker interface for events on the ModBus. Expect exceptions if you use
the modbus for events not listened there.
Signed-off-by: cpw <cpw+github@weeksfamily.ca>
Fix patched in method using srg name. Closes#6965
Fix capabilities not being collected for ClientWorld. Closes#6966
Fix TagEmptyCondition using client side copy of tags instead of server. Closes#6949
Fix ExtendedButton using narrator text. Closes#6958, Closes#6959
Fix misaligned patch in RepairContainer. Closes#6950, Closes#6953
Fix LivingJumpEvent not being fired for players jumping horses. Closes#6929
Remove extra getToughness method in ArmorItem. Closes#6970
Remove GetCollisionBoxesEvent. Closes#6921
- Move CompositeModel out of its package.
- Move a few inner classes from the OBJ loader.
- Rename the bucket model and fluid model classes to match the naming convention.
- Remove BiomeEvent.* and WorldTypeEvent.InitBiomeGens as they are not currently implemented and they haven't been in the previous version either.
Due to the massive rendering changes, certain features, such as emissive item rendering and the forge block rendering/lighting pipeline are currently disabled.
Co-authored-by: David Quintana <gigaherz@gmail.com>
Co-authored-by: tterrag <tterrag1098@gmail.com>
Co-authored-by: Unnoen <theunnoen@gmail.com>
Forge's replacement of the Vanilla logic gets inverted, so the Vanilla logic inside that replacement must be inverted to correct for this.
(Fixes#6332)