Class WrapperPlayServerBoss.WrappedBossBarProgressOperation
java.lang.Object
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerBoss.WrappedBossBarProgressOperation
- All Implemented Interfaces:
WrapperPlayServerBoss.WrappedBossBarOperation
- Enclosing class:
- WrapperPlayServerBoss
public static class WrapperPlayServerBoss.WrappedBossBarProgressOperation
extends Object
implements WrapperPlayServerBoss.WrappedBossBarOperation
Operation to update the progress of the boss bar on client side
-
Field Summary
Fields inherited from interface com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerBoss.WrappedBossBarOperation
HANDLE_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(float progress) boolean
float
Gets the progressgetType()
int
hashCode()
void
setProgress
(float progress) Sets the progress
-
Constructor Details
-
WrappedBossBarProgressOperation
public WrappedBossBarProgressOperation()
-
-
Method Details
-
create
-
getProgress
public float getProgress()Gets the progress- Returns:
- progress ranged 0.0 to 1.0 inclusive
-
setProgress
public void setProgress(float progress) Sets the progress- Parameters:
progress
- ranged 0.0 to 1.0 inclusive
-
getType
- Specified by:
getType
in interfaceWrapperPlayServerBoss.WrappedBossBarOperation
-
equals
-
hashCode
public int hashCode()
-