MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / setInsertion

Method setInsertion

src/main/java/net/minecraft/util/ChatStyle.java:287–291  ·  view source on GitHub ↗

Set a text to be inserted into Chat when the component is shift-clicked

(String insertion)

Source from the content-addressed store, hash-verified

285 * Set a text to be inserted into Chat when the component is shift-clicked
286 */
287 public ChatStyle setInsertion(String insertion)
288 {
289 this.insertion = insertion;
290 return this;
291 }
292
293 /**
294 * Sets the fallback ChatStyle to use if this ChatStyle does not override some value. Without a parent, obvious

Callers 5

createDeepCopyMethod · 0.95
getDisplayNameMethod · 0.80
getDisplayNameMethod · 0.80
getDisplayNameMethod · 0.80
getDisplayNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected