Class FabricPlatformHelper
java.lang.Object
com.mrbysco.lunar.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
syncEvent
Description copied from interface:IPlatformHelperSyncing the lunar event to the clients.- Specified by:
syncEventin interfaceIPlatformHelper- Parameters:
level- The level to get the players fromevent- The event that gets synced
-
syncEvent
Description copied from interface:IPlatformHelperSyncing the lunar event to a specific client.- Specified by:
syncEventin interfaceIPlatformHelper- Parameters:
player- The player it gets synced toevent- The event that gets synced
-