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

Method setSilent

src/main/java/net/minecraft/entity/Entity.java:1039–1042  ·  view source on GitHub ↗

When set to true the entity will not play sounds. @param isSilent Should the mob be set to silent?

(boolean isSilent)

Source from the content-addressed store, hash-verified

1037 * @param isSilent Should the mob be set to silent?
1038 */
1039 public void setSilent(boolean isSilent)
1040 {
1041 this.dataWatcher.updateObject(4, (byte) (isSilent ? 1 : 0));
1042 }
1043
1044 /**
1045 * returns if this entity triggers Block.onEntityWalking on the blocks they walk on. used for spiders and wolves to

Callers 2

readFromNBTMethod · 0.95
EntityArmorStandMethod · 0.80

Calls 1

updateObjectMethod · 0.80

Tested by

no test coverage detected