Class WrapperPlayClientBeacon
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientBeacon
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientBeacon
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.bukkit.potion.PotionEffect>
/* Retrieves the value of field 'primary' /* @return 'primary'Optional<org.bukkit.potion.PotionEffect>
Retrieves the value of field 'secondary'void
setPrimary
(org.bukkit.potion.PotionEffect value) Sets the value of field 'primary'void
setSecondary
(org.bukkit.potion.PotionEffect value) Sets the value of field 'secondary'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPE
-
-
Constructor Details
-
WrapperPlayClientBeacon
public WrapperPlayClientBeacon() -
WrapperPlayClientBeacon
public WrapperPlayClientBeacon(com.comphenix.protocol.events.PacketContainer packet)
-
-
Method Details
-
getPrimary
/* Retrieves the value of field 'primary' /* @return 'primary' -
setPrimary
public void setPrimary(@Nullable org.bukkit.potion.PotionEffect value) Sets the value of field 'primary'- Parameters:
value
- New value for field 'primary'
-
getSecondary
Retrieves the value of field 'secondary'- Returns:
- 'secondary'
-
setSecondary
public void setSecondary(@Nullable org.bukkit.potion.PotionEffect value) Sets the value of field 'secondary'- Parameters:
value
- New value for field 'secondary'
-