Class ServerboundSetCommandMinecartPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSetCommandMinecartPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundSetCommandMinecartPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundSetCommandMinecartPacket(int p_134534_, String p_134535_, boolean p_134536_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetCommandBlock(Level p_134538_) voidhandle(ServerGamePacketListener p_134544_) booleanvoidwrite(FriendlyByteBuf p_134547_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
entityprivate final int entity
- 
command
- 
trackOutputprivate final boolean trackOutput
 
- 
- 
Constructor Details- 
ServerboundSetCommandMinecartPacket
- 
ServerboundSetCommandMinecartPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getCommandBlock
- 
getCommand
- 
isTrackOutputpublic boolean isTrackOutput()
 
-