public class ClientboundDebugRendererPacket extends java.lang.Object implements BedrockPacket
| Constructor and Description |
|---|
ClientboundDebugRendererPacket() |
public org.cloudburstmc.protocol.common.PacketSignal handle(BedrockPacketHandler handler)
handle in interface BedrockPacketpublic BedrockPacketType getPacketType()
getPacketType in interface BedrockPacketpublic ClientboundDebugRendererType getDebugMarkerType()
public java.lang.String getMarkerText()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public org.cloudburstmc.math.vector.Vector3f getMarkerPosition()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public float getMarkerColorRed()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public float getMarkerColorGreen()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public float getMarkerColorBlue()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public float getMarkerColorAlpha()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public long getMarkerDuration()
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.
In milliseconds.public void setDebugMarkerType(ClientboundDebugRendererType debugMarkerType)
public void setMarkerText(java.lang.String markerText)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerPosition(org.cloudburstmc.math.vector.Vector3f markerPosition)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerColorRed(float markerColorRed)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerColorGreen(float markerColorGreen)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerColorBlue(float markerColorBlue)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerColorAlpha(float markerColorAlpha)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.public void setMarkerDuration(long markerDuration)
debugMarkerType is set to ClientboundDebugRendererType.ADD_DEBUG_MARKER_CUBE.
In milliseconds.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object