User Tools

Site Tools


tutorial:interface_injection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorial:interface_injection [2024/07/13 22:10] – Corrected typo sapryxtutorial:interface_injection [2025/02/12 18:42] (current) – Add node on unicode escape for $ earthcomputer
Line 65: Line 65:
  
 You could also override this method in classes extending <yarn class_3609> to implement custom behaviours. You could also override this method in classes extending <yarn class_3609> to implement custom behaviours.
 +
 +Sometimes, your interface injections may need to include the ''$'' symbol, but the Groovy template processor may interpret this as a template variable if you are replacing variables (such as ''${version}'') in your ''fabric.mod.json''. A workaround for this is to use the Unicode escape for ''$'', which is ''\u0024''.
tutorial/interface_injection.txt · Last modified: 2025/02/12 18:42 by earthcomputer