Class FabricPlatformHelper

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

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • 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