Contents
Class Beam
java.lang.Object
com.hypixel.hytale.builtin.beam.asset.Beam
- All Implemented Interfaces:
JsonAsset<String>, JsonAssetWithMap<String, IndexedLookupTableAssetMap<String,Beam>>, NetworkSerializable<BeamConfig>
public class Beam
extends Object
implements JsonAssetWithMap<String, IndexedLookupTableAssetMap<String,Beam>>, NetworkSerializable<BeamConfig>
The appearance of a beam. The beam itself is placed by a
BeamComponent.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetBuilderCodec<String, Beam> static final ValidatorCache<String> -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexedLookupTableAssetMap<String, Beam> static AssetStore<String, Beam, IndexedLookupTableAssetMap<String, Beam>> getId()static BeamgetUnknownFor(String id) Returns a placeholder for a beam that was removed, which keeps its index in use and draws nothing.toPacket()toString()
-
Field Details
-
CODEC
-
CHILD_ASSET_CODEC
-
VALIDATOR_CACHE
-
-
Method Details
-
getAssetStore
@Nonnull public static AssetStore<String, Beam, IndexedLookupTableAssetMap<String,Beam>> getAssetStore() -
getAssetMap
-
getUnknownFor
-
getId
-
getTexture
-
toPacket
- Specified by:
toPacketin interfaceNetworkSerializable<BeamConfig>
-
toString
-