![]() |
VOOZH | about |
This template is used to shorten a Java classpath to the last name in the path, and puts the full path information inside a tooltip, which appears when hovered by the mouse cursor. This is useful when citing the game's source code in a reference.
{{Java classpath|1=<classpath>|2=<alias>|mapping=<mapping name>}}
|1=<classpath> – full path to the Java class.|2=<alias> optional – specify a text that takes place instead of the class name in the classpath.|mapping=<mapping name> optional – specify a mapping name if the classpath comes from a different mapping, other than the Mojang mapping, which is the default.{{jcp|path.to.the.class.ClassReference}} results in ClassReference.{{jcp|path.to.the.class.ClassReference|aliased name}} results in aliased name.{{Java block classpath}}
{{jbcp}}{{Java item classpath}}
{{jicp}}