Class FabricPlatformHelper

java.lang.Object
com.mrbysco.lunar.platform.FabricPlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • syncEvent

      public void syncEvent(net.minecraft.world.level.Level level, ILunarEvent event)
      Description copied from interface: IPlatformHelper
      Syncing the lunar event to the clients.
      Specified by:
      syncEvent in interface IPlatformHelper
      Parameters:
      level - The level to get the players from
      event - The event that gets synced
    • syncEvent

      public void syncEvent(net.minecraft.server.level.ServerPlayer player, ILunarEvent event)
      Description copied from interface: IPlatformHelper
      Syncing the lunar event to a specific client.
      Specified by:
      syncEvent in interface IPlatformHelper
      Parameters:
      player - The player it gets synced to
      event - The event that gets synced