Interface BuiltImmersive<E,S extends NetworkStorage>
- Type Parameters:
E
- The type of the "extra data" stored on info instances of this Immersive.S
- The type of storage to use for sending Immersive data over the network.
- All Superinterfaces:
Immersive<BuiltImmersiveInfo<E>,
S>
- All Known Implementing Classes:
BuiltImmersiveImpl
public interface BuiltImmersive<E,S extends NetworkStorage>
extends Immersive<BuiltImmersiveInfo<E>,S>
Representation of a built Immersive made using an
ImmersiveBuilder
. This acts as an Immersive
, but
can also be used to make new ImmersiveBuilder
s that start as copies of this built Immersive.-
Method Summary
Modifier and TypeMethodDescription<T extends NetworkStorage>
ImmersiveBuilder<E,T> getBuilderClone
(ImmersiveHandler<T> newHandler) Creates a clone of this Immersive for creating an Immersive similar to this one.Methods inherited from interface com.hammy275.immersivemc.api.client.immersive.Immersive
buildInfo, configScreenInfo, getHandler, getTrackedObjects, globalTick, handleHitboxInteract, isVROnly, processStorageFromNetwork, render, shouldDisableRightClicksWhenVanillaInteractionsDisabled, shouldRender, tick
-
Method Details
-
getBuilderClone
Creates a clone of this Immersive for creating an Immersive similar to this one.- Parameters:
newHandler
- The new handler for this Immersive.- Returns:
- A new builder instance.
-