Class FabricPlatformHelper
java.lang.Object
com.mrbysco.particlemimicry.platform.FabricPlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.entity.BlockEntityType<ParticleEmitterBlockEntity> Creates a BlockEntityType for the ParticleEmitterBlockEntity.voidsendPayloadToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload payload) Sends a custom packet payload to the server.
-
Constructor Details
-
FabricPlatformHelper
public FabricPlatformHelper()
-
-
Method Details
-
createBlockEntityType
public net.minecraft.world.level.block.entity.BlockEntityType<ParticleEmitterBlockEntity> createBlockEntityType()Description copied from interface:IPlatformHelperCreates a BlockEntityType for the ParticleEmitterBlockEntity.- Specified by:
createBlockEntityTypein interfaceIPlatformHelper- Returns:
- the block entity type
-
sendPayloadToServer
public void sendPayloadToServer(net.minecraft.network.protocol.common.custom.CustomPacketPayload payload) Description copied from interface:IPlatformHelperSends a custom packet payload to the server.- Specified by:
sendPayloadToServerin interfaceIPlatformHelper- Parameters:
payload- The payload to send to the server.
-