Forge%20minecraft%20modding.%20What%20tick%20event%20do%20I%20need%20to%20subscribe%20to%…
- User
Forge%20minecraft%20modding.%20What%20tick%20event%20do%20I%20need%20to%20subscribe%20to%20that%20only%20runs%20on%20the%20client%2C%20but%20still%20always%20runs%20when%20connected%20to%20a%20server%20or%20just%20in%20singleplyer%0A%0A
- Assistant
In Minecraft modding with Forge, if you want to subscribe to a tick event that runs only on the client side, but also runs while connected to a server (or in single-player), you should use the
RenderTickEvent.Here's how you can do that:
-
Add an event listener for the
RenderTickEvent. This event is fired every frame during the rendering phase on the client side.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.