Class InstantPlace
java.lang.Object
com.beansgalaxy.backpacks.network.serverbound.InstantPlace
- All Implemented Interfaces:
Packet2S
-
Constructor Summary
ConstructorsConstructorDescriptionInstantPlace(int entityId, net.minecraft.world.phys.BlockHitResult blockHitResult) InstantPlace(net.minecraft.network.FriendlyByteBuf byteBuf) -
Method Summary
-
Constructor Details
-
InstantPlace
public InstantPlace(int entityId, net.minecraft.world.phys.BlockHitResult blockHitResult) -
InstantPlace
public InstantPlace(net.minecraft.network.FriendlyByteBuf byteBuf)
-
-
Method Details
-
send
public static void send(int i, net.minecraft.world.phys.BlockHitResult blockHitResult) -
getNetwork
- Specified by:
getNetworkin interfacePacket2S
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buf) -
handle
public void handle(net.minecraft.server.level.ServerPlayer sender)
-