Package net.thewinnt.cutscenes.client
Class ClientCutsceneManager
java.lang.Object
net.thewinnt.cutscenes.client.ClientCutsceneManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic CutsceneCameraEntitystatic final com.google.common.collect.BiMap<net.minecraft.resources.ResourceLocation, CutsceneType> static final ActionTogglesstatic floatstatic floatstatic floatstatic final org.slf4j.Loggerstatic net.minecraft.world.phys.Vec3static floatstatic floatstatic floatstatic booleanstatic CutsceneInstancestatic floatstatic floatstatic floatstatic floatstatic floatstatic float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActionTogglesstatic net.minecraft.world.phys.Vec3static CutsceneTypestatic booleanstatic voidstatic voidonLogout()static voidregisterCutscene(net.minecraft.resources.ResourceLocation id, CutsceneType type) static voidstatic voidsetPreviewedCutscene(CutsceneType preview, net.minecraft.world.phys.Vec3 offset, float pathYaw, float pathPitch, float pathRoll) static voidstartCutscene(CutsceneType type, net.minecraft.world.phys.Vec3 startPos, float cameraYaw, float cameraPitch, float cameraRoll, float pathYaw, float pathPitch, float pathRoll) static voidstatic voidupdateRegistry(Map<net.minecraft.resources.ResourceLocation, CutsceneType> registry)
-
Field Details
-
LOGGER
public static final org.slf4j.Logger LOGGER -
CLIENT_REGISTRY
public static final com.google.common.collect.BiMap<net.minecraft.resources.ResourceLocation,CutsceneType> CLIENT_REGISTRY -
DEFAULT_ACTION_TOGGLES
-
renderedOverlaysThisFrame
public static boolean renderedOverlaysThisFrame -
runningCutscene
-
startCameraYaw
public static float startCameraYaw -
startCameraPitch
public static float startCameraPitch -
startCameraRoll
public static float startCameraRoll -
startPathYaw
public static float startPathYaw -
startPathPitch
public static float startPathPitch -
startPathRoll
public static float startPathRoll -
previewOffset
public static net.minecraft.world.phys.Vec3 previewOffset -
previewPathYaw
public static float previewPathYaw -
previewPathPitch
public static float previewPathPitch -
previewPathRoll
public static float previewPathRoll -
camera
-
initCameraYaw
public static float initCameraYaw -
initCameraPitch
public static float initCameraPitch -
initCameraRoll
public static float initCameraRoll
-
-
Constructor Details
-
ClientCutsceneManager
public ClientCutsceneManager()
-
-
Method Details
-
startCutscene
@Environment(CLIENT) public static void startCutscene(CutsceneType type, net.minecraft.world.phys.Vec3 startPos, float cameraYaw, float cameraPitch, float cameraRoll, float pathYaw, float pathPitch, float pathRoll) -
updateRegistry
public static void updateRegistry(Map<net.minecraft.resources.ResourceLocation, CutsceneType> registry) -
registerCutscene
-
stopCutsceneImmediate
public static void stopCutsceneImmediate() -
setPreviewedCutscene
public static void setPreviewedCutscene(CutsceneType preview, net.minecraft.world.phys.Vec3 offset, float pathYaw, float pathPitch, float pathRoll) -
getPreviewedCutscene
-
getOffset
public static net.minecraft.world.phys.Vec3 getOffset() -
setCameraPosition
-
onLogout
public static void onLogout() -
onClientTick
public static void onClientTick() -
actionToggles
-
isCutsceneRunning
public static boolean isCutsceneRunning()
-