Class FabricPlatformHelper

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

public class FabricPlatformHelper extends Object implements IPlatformHelper
  • Constructor Details

    • FabricPlatformHelper

      public FabricPlatformHelper()
  • Method Details

    • createBlockEntityType

      public net.minecraft.world.level.block.entity.BlockEntityType<ParticleEmitterBlockEntity> createBlockEntityType()
      Description copied from interface: IPlatformHelper
      Creates a BlockEntityType for the ParticleEmitterBlockEntity.
      Specified by:
      createBlockEntityType in interface IPlatformHelper
      Returns:
      the block entity type
    • sendPayloadToServer

      public void sendPayloadToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload payload)
      Description copied from interface: IPlatformHelper
      Sends a custom packet payload to the server.
      Specified by:
      sendPayloadToServer in interface IPlatformHelper
      Parameters:
      payload - The payload to send to the server.