IzzelAliz / Arclight

A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.59k stars 233 forks source link

[Not an Issue/Tech question] Is bukkit plugins allowed to access mod entities? #1390

Closed FabioZumbi12 closed 1 month ago

FabioZumbi12 commented 4 months ago

I have confirmed that ...

Arclight version

arclight-forge-1.20.1-1.0.5

OS & Java versions

jdk-17

Plugins and Mods

Plugins (9): LuckPerms, Vault, Multiverse-Core, Multiverse-NetherPortals, Essentials, EssentialsSpawn, EssentialsGeoIP, RedProtect, PlugManX (PlugMan)

Mod List:
• minecraft server-1.20.1-20230612.114412-srg.jar : minecraft (1.20.1) - 1
• minecraft forge-1.20.1-47.2.20-universal.jar : forge (47.2.20) - 1
• mods_folder Vampirism-1.20.1-1.10.8.jar : vampirism (1.10.8) - 2
• arclight arclight-1.20.1-1.0.5-1a8925b.jar : arclight (1.20.1-1.0.5-1a8925b) - 1

Description

Is bukkit plugins (like antigrief plugins) allowed to access mod entities, like using from EntityType.values()? If yes, theres an example?

Step to reproduce

No response

Logs

No response

Server pack link (Optional)

No response

qyl27 commented 1 month ago

Yes, you may use valueOf to get the enum value, although it wasn't defined in Bukkit API.

qyl27 commented 1 month ago

Btw, we recommend having questions in developing or using our discussions page, but not issues.
https://github.com/IzzelAliz/Arclight/discussions