MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / error

Method error

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

Source from the content-addressed store, hash-verified

21 .build();
22
23 public static Feedback error(String message, Object... args) {
24 return Feedback.builder()
25 .message(errorText(message, args))
26 .sound(SoundFeedback.builder().sound(Sound.BLOCK_DEEPSLATE_BREAK).pitch(0.5f).volume(1f).build())
27 .build();
28 }
29
30 public static Feedback success(String message, Object... args) {
31 return Feedback.builder()

Callers 3

executeMethod · 0.95
executeMethod · 0.95
executeMethod · 0.95

Calls 3

errorTextMethod · 0.95
volumeMethod · 0.80
buildMethod · 0.65

Tested by

no test coverage detected