Interface IPlatformHelper
- All Known Implementing Classes:
FabricPlatformHelper
public interface IPlatformHelper
-
Method Summary
Modifier and TypeMethodDescriptionvoidsyncEvent(net.minecraft.server.level.ServerPlayer player, ILunarEvent event) Syncing the lunar event to a specific client.voidsyncEvent(net.minecraft.world.level.Level level, ILunarEvent event) Syncing the lunar event to the clients.
-
Method Details
-
syncEvent
Syncing the lunar event to the clients.- Parameters:
level- The level to get the players fromevent- The event that gets synced
-
syncEvent
Syncing the lunar event to a specific client.- Parameters:
player- The player it gets synced toevent- The event that gets synced
-