Class TestParticlePacketS2C
java.lang.Object
com.binaris.wizardry.core.networking.s2c.TestParticlePacketS2C
- All Implemented Interfaces:
Message
Used just for testing the network api
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTestParticlePacketS2C(net.minecraft.core.BlockPos pos, int color) TestParticlePacketS2C(net.minecraft.network.FriendlyByteBuf pBuf) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.binaris.wizardry.core.networking.abst.Message
handleServer
-
Field Details
-
ID
public static final net.minecraft.resources.ResourceLocation ID
-
-
Constructor Details
-
TestParticlePacketS2C
public TestParticlePacketS2C(net.minecraft.core.BlockPos pos, int color) -
TestParticlePacketS2C
public TestParticlePacketS2C(net.minecraft.network.FriendlyByteBuf pBuf)
-
-
Method Details
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf pBuf) -
getId
public net.minecraft.resources.ResourceLocation getId() -
handleClient
public void handleClient()- Specified by:
handleClientin interfaceMessage
-
getPos
public net.minecraft.core.BlockPos getPos() -
getColor
public int getColor()
-