Greetings to all. Yesterday I started the process of transferring my plugins from Paper 1.20.4 to Paper 1.21.4.
I encountered the following problem. Many methods have ceased to exist trivially.
For example: ItemMeta.name (component); Audience.SendMessage(component).
If I figured out with Audience that the SendMessage() method now accepts a TextComponent, then with ItemMeta it's not clear at all what to use for Component usage.
Also, the Player class is no longer suitable for the Audience for some reason.
If anyone knows what the reason is, then please tell me. If there is any changelog, please provide it to me, I did not find anything myself except a Paper Announcement on the main page of the forum. I checked everything there after version 1.20.4, but there was nothing to indicate my problem.
Here is my maven import of paper:
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.21.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
I encountered the following problem. Many methods have ceased to exist trivially.
For example: ItemMeta.name (component); Audience.SendMessage(component).
If I figured out with Audience that the SendMessage() method now accepts a TextComponent, then with ItemMeta it's not clear at all what to use for Component usage.
Also, the Player class is no longer suitable for the Audience for some reason.
If anyone knows what the reason is, then please tell me. If there is any changelog, please provide it to me, I did not find anything myself except a Paper Announcement on the main page of the forum. I checked everything there after version 1.20.4, but there was nothing to indicate my problem.
Here is my maven import of paper:
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
<dependency>
<groupId>io.papermc.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.21.4-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
- Version Output
- -