Skip to content

Commit 6f83a01

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 4514e46 + b819391 commit 6f83a01

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repositories {
4848
}
4949

5050
dependencies {
51-
compileOnly 'com.github.max1mde:ChatBubbles-API:1.3.0'
51+
compileOnly 'com.github.max1mde:ChatBubbles-API:1.3.2'
5252
}
5353
```
5454
Kotlin DSL
@@ -58,7 +58,7 @@ repositories {
5858
}
5959

6060
dependencies {
61-
compileOnly("com.github.max1mde:ChatBubbles-API:1.3.0")
61+
compileOnly("com.github.max1mde:ChatBubbles-API:1.3.2")
6262
}
6363
```
6464

@@ -74,7 +74,7 @@ dependencies {
7474
<dependency>
7575
<groupId>com.github.max1mde</groupId>
7676
<artifactId>ChatBubbles-API</artifactId>
77-
<version>1.3.0</version>
77+
<version>1.3.2</version>
7878
<scope>provided</scope>
7979
</dependency>
8080
```
@@ -133,7 +133,7 @@ Creating a new instance of the ChatBubble's class
133133

134134
LivingEntity target = // This can be any player or living entity like a zombie! Above this entity the chat bubbles will be shown!
135135

136-
ChatBubble chatBubble = new ChatBubble(target, ChatBubble.RenderMode.NEARBY); // RenderMode nearby means all players near the target will see the chat bubbles
136+
ChatBubble chatBubble = new ChatBubble(target, RenderMode.NEARBY); // RenderMode nearby means all players near the target will see the chat bubbles
137137

138138
// Now you can modify the chat bubble
139139
chatBubble.setText("Test")
@@ -142,7 +142,7 @@ chatBubble.setText("Test")
142142
.setBillboard(Display.Billboard.VERTICAL)
143143
.setMaxLineWidth(500)
144144
.setSeeThroughBlocks(false);
145-
// For more properties look into the ChatBubble class or in your IDE's auto complete
145+
// For more properties look into the ChatBubble class or in your IDE's auto completions for that object
146146
```
147147

148148
To spawn that chat bubble you need the bubble generator ↓
@@ -184,7 +184,7 @@ A simple damage indicator:
184184
@EventHandler
185185
public void onEntityDamage(EntityDamageEvent event) {
186186
if(!(event.getEntity() instanceof LivingEntity)) return;
187-
ChatBubble chatBubble = new ChatBubble((LivingEntity) event.getEntity(), ChatBubble.RenderMode.NEARBY);
187+
ChatBubble chatBubble = new ChatBubble((LivingEntity) event.getEntity(), RenderMode.NEARBY);
188188

189189
chatBubble.setText(ChatColor.RED + "Damage: " + event.getDamage())
190190
.setScale(new Vector3D(1,1,1));

0 commit comments

Comments
 (0)