Skip to content

Conversation

@calmilamsy
Copy link
Member

@calmilamsy calmilamsy commented Apr 22, 2025

Tin.

You can now implement CustomTooltipProvider to blocks directly, though BlockItems will still take precedence.

Also added documentation to the interface.

Fixes #177

@calmilamsy calmilamsy linked an issue Apr 22, 2025 that may be closed by this pull request
@calmilamsy calmilamsy merged commit 5c048d2 into develop Jun 1, 2025
@calmilamsy calmilamsy deleted the make-blocks-have-custom-tooltips-too branch June 1, 2025 14:40
mineLdiver added a commit that referenced this pull request Jul 5, 2025
* Switched from HMI to RetroCommands

* Removed broken reimplementation of Divisor's old PlayerAPI. (#139)

* Removed Indigo renderer (#140)

* Updated UnsafeEvents

* ContextVariable

* ContextVariable#get

* Feature/register helper (#146)

* Added register helper methods to RegistryEvent

* Remove unused BulkConsumer.

* Updated all registries to be entry type bound.

* Updated all usages of Registry#register to new helper methods where applicable.

* Moved bulk registration helpers implementation to Registry interface and redirected event method helpers to that.

* Swapped namespace and rawIdGetter placements so they better reflect the original method arguments.

* cleanup/java-hacks (#145)

* Cleaned up Java hacks related to entrypoints

* Removed EnumFactory.

* Removed NativeImage Unsafe buffer cleaner invocation.

* Replaced fake BlockItem with null, since MixinExtras allows that, unlike vanilla Mixin's Redirect.

* Removed UnsafeProvider.

* Updated javadoc for EntrypointManager#registerLookup

* Fix a NPE in shears override

* Fix a NPE in FuelRegistry

* Added StationFlatteningBlock#onStateReplaced

* Fixed #159

* Change version

* Merge pull request #165 from ThexXTURBOXx/develop

Don't close filesystems when resolving mod namespaces

* Update modmenu

* Merge pull request #168

* Yeet

* Wait this is wrong

* Merge branch 'develop' into namespace-change

* Make stapi get angree (#169)

* Update BiomeMixin.java (#196)

* Add Block Support to CustomTooltipProvider (#187)

* Add Block support to CustomTooltipProvider

* Add some documentation to the interface

* Make Leaves' Log Check Work With Modded Logs and Leaves (#186)

* Fix

* And comment this out cause it's ugly

* Fix (#185)

* FUCK (#200)

* Why mine (#197)

* Potentially make mine scream (#188)

* Implement onBonemealUse on Vanilla Crops (#170)

* Yeet

* Also do sapling, also fix multiplayer

* Use the appropriate random

---------

Co-authored-by: mineLdiver <aabesedin@mail.ru>

* Fixed cal L moment (cascaded test worldgen)

* Change version

---------

Co-authored-by: Nico Mexis <nico.mexis@kabelmail.de>
Co-authored-by: calmilamsy <bumbill00@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Custom tooltips from interface are not applied to blocks

2 participants