MCPcopy Index your code
hub / github.com/VolmitSoftware/Adapt / info

Method info

src/main/java/com/volmit/adapt/util/command/FConst.java:45–50  ·  view source on GitHub ↗
(String message, Object... args)

Source from the content-addressed store, hash-verified

43 }
44
45 public static Feedback info(String message, Object... args) {
46 return Feedback.builder()
47 .message(infoText(message, args))
48 .sound(SoundFeedback.builder().sound(Sound.ITEM_ARMOR_EQUIP_LEATHER).pitch(1.1f).volume(1f).build())
49 .build();
50 }
51
52 public static TextComponent errorText(String message, Object... args) {
53 return Component.text(message.formatted(args)).color(TextColor.color(FConst.COLOR_ERROR.getRGB()));

Callers 8

infoMethod · 0.95
infoMethod · 0.95
infoMethod · 0.95
infoMethod · 0.95
infoMethod · 0.95
infoMethod · 0.95
infoMethod · 0.95
PacketsClass · 0.45

Calls 3

infoTextMethod · 0.95
volumeMethod · 0.80
buildMethod · 0.65

Tested by

no test coverage detected