Item Physics
Replaces ground items with ones that have physics.
Integration
How to toggle the mod
public void toggleItemPhysicsExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModItemPhysics.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
ROTATION_SPEED
- Config Key:
rotation-speed
- Values
- Type:
Float
- Default:
0.5F
- Minimum:
0.1F
- Maximum:
4.0F
- Type:
- Config Key: