Skip to content

Commit b82bbc4

Browse files
committed
Add chat bubble methods for pitch, volume and play for self animation sound
1 parent bc3a2d9 commit b82bbc4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/main/java/com/maximde/betterchatbubbles/api/ChatBubble.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,24 @@ public class ChatBubble {
122122
@Setter @Getter @Accessors(chain = true)
123123
protected boolean soundOut = true;
124124

125+
@Setter @Getter @Accessors(chain = true)
126+
protected float soundOutPitch = 1F;
127+
128+
@Setter @Getter @Accessors(chain = true)
129+
protected float soundOutVolume = 1F;
130+
131+
@Setter @Getter @Accessors(chain = true)
132+
protected float soundInPitch = 1F;
133+
134+
@Setter @Getter @Accessors(chain = true)
135+
protected float soundInVolume = 1F;
136+
137+
@Setter @Getter @Accessors(chain = true)
138+
protected boolean soundInDisableForSelf = false;
139+
140+
@Setter @Getter @Accessors(chain = true)
141+
protected boolean soundOutDisableForSelf = false;
142+
125143
@Getter
126144
protected ParticleType animationParticleType = ParticleTypes.END_ROD;
127145
/**

0 commit comments

Comments
 (0)