CC: Sable 图标

CC: Sable

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.3.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cc-sable
资源信息

Minecraft 版本: 1.21.1

平台: neoforge

标签: library technology utility

资源介绍

CC: Sable is a CC: Tweaked addon for the Sable backend of Create: Simulated!
Currently, it provides the Sub-Level API (sublevel) for all in-game computers! Its methods can only be properly called when the computer is on a Sub-Level (physics object). It also provides the Aerodynamics API (aero,aerodynamics) for all in-game computers to access dimension-specific physics information!

This mod also comes bundled with the CC: Advanced Math datapack for extra math utilities, namely the quaternion module for handling rotations in 3D space. This is used to convert the orientation of Sub-Levels into a more usable format for Lua.


Extra References

LuaBezierResourceFunction

This object is gotten from the tables returned by aero.getRaw and aero.getDefault, specifically from the pressureFunction key.

getPoints(): table

This method returns an array of points along the bezier curve with altitude, value, and slope as fields for each point.

evaluateFunction(altitude: number): number

This method evaluates the function given the altitude along the bezier curve.

More Block Details

This mod also adds the physics properties of blocks to any method calling to block details, such as turtle.inspect().
These new details will be listed under the "sable" key and have the following key-value pairs:

  • mass: number
  • friction: number
  • restitution: number
  • volume: number
  • floatingScale: number
  • floatingMaterial: table (can be empty)
    • factHorizontalFriction: number
    • factVerticalFriction: number
    • slowHorizontalFriction: number
    • slowVerticalFriction: number
    • liftStrength: number
    • transitionSpeed: number
    • preventSelfLift: boolean
    • scaleWithGravity: boolean
    • scaleWithPressure: boolean
📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
FunDinoModpack

价格:0 墨喵币
下载量:0

查看详情
Create: Copper Oxidizing

价格:0 墨喵币
下载量:0

查看详情
Litematica Server Paster

价格:0 墨喵币
下载量:0

查看详情
Metal Bundles

价格:0 墨喵币
下载量:0

查看详情