Class ForgePlatformHelper

java.lang.Object
com.mrbysco.retraining.platform.ForgePlatformHelper
All Implemented Interfaces:
IPlatformHelper

public class ForgePlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • ForgePlatformHelper

      public ForgePlatformHelper()
  • Method Details

    • sendResetTradesMessage

      public void sendResetTradesMessage()
      Description copied from interface: IPlatformHelper
      Send a packet to the server to reset the villager's trades
      Specified by:
      sendResetTradesMessage in interface IPlatformHelper
    • sendUpdateMessage

      public void sendUpdateMessage(net.minecraft.world.entity.player.Player player, boolean villager, int experience)
      Description copied from interface: IPlatformHelper
      Send a packet to the server to reset the villager's trades
      Specified by:
      sendUpdateMessage in interface IPlatformHelper