Contents
Class ViewBobbing
java.lang.Object
com.hypixel.hytale.builtin.adventure.camera.asset.viewbobbing.ViewBobbing
- All Implemented Interfaces:
JsonAsset<MovementType>, JsonAssetWithMap<MovementType, AssetMap<MovementType, ViewBobbing>>, NetworkSerializable<ViewBobbing>
public class ViewBobbing
extends Object
implements NetworkSerializable<ViewBobbing>, JsonAssetWithMap<MovementType, AssetMap<MovementType, ViewBobbing>>
A class that represents a view bobbing asset configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetBuilderCodec<MovementType, ViewBobbing> The codec used to parseViewBobbinginstances.static final Codec<MovementType> The codec used to parseMovementTypeenums. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MOVEMENT_TYPE_CODEC
The codec used to parseMovementTypeenums. -
CODEC
The codec used to parseViewBobbinginstances.
-
-
Constructor Details
-
ViewBobbing
public ViewBobbing()
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceJsonAsset<MovementType>
-
toPacket
- Specified by:
toPacketin interfaceNetworkSerializable<ViewBobbing>
-
toString
-