Package at.petrak.paucal.fabric.xplat
Class FabricXplatImpl
java.lang.Object
at.petrak.paucal.fabric.xplat.FabricXplatImpl
- All Implemented Interfaces:
at.petrak.paucal.xplat.IXplatAbstractions
-
Field Summary
Fields inherited from interface at.petrak.paucal.xplat.IXplatAbstractions
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable net.minecraft.sounds.SoundEventgetSoundByID(net.minecraft.resources.ResourceLocation id) at.petrak.paucal.xplat.Platformplatform()voidsendPacketNearS2C(net.minecraft.world.phys.Vec3 pos, double radius, net.minecraft.server.level.ServerLevel dimension, at.petrak.paucal.api.msg.PaucalMessage packet) voidsendPacketToPlayerS2C(net.minecraft.server.level.ServerPlayer target, at.petrak.paucal.api.msg.PaucalMessage packet) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface at.petrak.paucal.xplat.IXplatAbstractions
init
-
Constructor Details
-
FabricXplatImpl
public FabricXplatImpl()
-
-
Method Details
-
platform
public at.petrak.paucal.xplat.Platform platform()- Specified by:
platformin interfaceat.petrak.paucal.xplat.IXplatAbstractions
-
getSoundByID
@Nullable public @Nullable net.minecraft.sounds.SoundEvent getSoundByID(net.minecraft.resources.ResourceLocation id) - Specified by:
getSoundByIDin interfaceat.petrak.paucal.xplat.IXplatAbstractions
-
sendPacketToPlayerS2C
public void sendPacketToPlayerS2C(net.minecraft.server.level.ServerPlayer target, at.petrak.paucal.api.msg.PaucalMessage packet) - Specified by:
sendPacketToPlayerS2Cin interfaceat.petrak.paucal.xplat.IXplatAbstractions
-
sendPacketNearS2C
public void sendPacketNearS2C(net.minecraft.world.phys.Vec3 pos, double radius, net.minecraft.server.level.ServerLevel dimension, at.petrak.paucal.api.msg.PaucalMessage packet) - Specified by:
sendPacketNearS2Cin interfaceat.petrak.paucal.xplat.IXplatAbstractions
-