Skip to content

ProbeInfo

xuanyu tang edited this page Sep 9, 2023 · 4 revisions

AddProbeInfo

Add the displayed information to top

Importing the package

import mods.topce.AddProbeInfo;

ZenMethods

@1.1.7

Additional text displayed when the player looks at a block

AddProbeInfo.addProbeText(IBlockState blockState, String text);

@1.1.7

Additional text displayed when the player is looking at a block and the top is in a mode

AddProbeInfo.addProbeModeText(ProbeMode mode, IBlockState blockState, String text);

@1.1.7

Additional text displayed when the player is looking at a block and the top is in a mode and the player is in a world

AddProbeInfo.addProbeDimensionModeText(ProbeMode mode, IBlockState blockState, String text, int dimension);

@1.1.8

Additional text displayed when the player is looking at a block and the player is in a world

AddProbeInfo.addDimensionModeText(IBlockState blockState, String text, int dimension);

Example

AddProbeInfo.addProbeDimensionModeText(ProbeMode.getDEBUG(), blockstate:minecraft:log, "www", 0);

Clone this wiki locally