Class PacketPlayMovingSound.MovingSoundFocus
java.lang.Object
me.desht.pneumaticcraft.common.network.PacketPlayMovingSound.MovingSoundFocus
- Enclosing class:
- PacketPlayMovingSound
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<net.minecraft.world.entity.Entity,net.minecraft.core.BlockPos> fromBytes(net.minecraft.network.FriendlyByteBuf buf) voidhandle(MovingSounds.Sound sound) of(int id) of(net.minecraft.core.BlockPos pos) of(net.minecraft.world.entity.Entity e) of(net.minecraft.world.level.block.entity.BlockEntity te)
-
Method Details
-
of
-
of
-
of
-
of
public static PacketPlayMovingSound.MovingSoundFocus of(net.minecraft.world.level.block.entity.BlockEntity te) -
fromBytes
public static PacketPlayMovingSound.MovingSoundFocus fromBytes(net.minecraft.network.FriendlyByteBuf buf) -
handle
-
asEntityOrPos
public com.mojang.datafixers.util.Either<net.minecraft.world.entity.Entity,net.minecraft.core.BlockPos> asEntityOrPos()
-