Interface IPlatformHelper


public interface IPlatformHelper
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.block.entity.BlockEntityType<ParticleEmitterBlockEntity>
    Creates a BlockEntityType for the ParticleEmitterBlockEntity.
    void
    sendPayloadToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload payload)
    Sends a custom packet payload to the server.
  • Method Details

    • createBlockEntityType

      net.minecraft.world.level.block.entity.BlockEntityType<ParticleEmitterBlockEntity> createBlockEntityType()
      Creates a BlockEntityType for the ParticleEmitterBlockEntity.
      Returns:
      the block entity type
    • sendPayloadToServer

      void sendPayloadToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload payload)
      Sends a custom packet payload to the server.
      Parameters:
      payload - The payload to send to the server.