Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[1.7.10] Sci API, for Scientific Mods! (Calculation&Unit + Heat + ItemEntity)

Featured Replies

Posted
comment_87306

Sci-API

 

Information

 

  Sci API is the api for Scientific Mods.

  This contains useful classes and methods related with Science.

 

  1. Calculation API

 

    Calculation API is the api which applies Calculation Systems.

    You can use Vector and Matrix using this API.

    Functions would be added in this api, too.

 

  2. Unit API

 

    Unit API offers Scientific Unit System.

    If you are confused with many units (ex: tick vs. second vs. day, EU vs MJ vs W).,

    Then you can use this api!

 

    You can use like these:

    Time l = new Time(30.0, "second");

    Time d = new Time(225.0, "tick");

    Time p = l.add(d);

 

    * This may be cause of performance hit if frequently used.

    Use setadd, setsub, etc. if you want to avoid the performance hit.

 

  3. Data API

 

    Data API offers interfaces and classes related with data reading/writing.

    You can use these interfaces to get structured data from byte array or string array.

 

    * This may be a cause of bug, for this part is not fully tested.

    please tell me when you get a bug with this api.

 

  4. Chemical API

 

    Chemical API offers Chemical System for Minecraft.

    Group of Elements forms Chemical, and Group of Chemicals forms Compound.

    Compounds may be used for determining the Ingredients & Properties of a block/item.

 

    Now, Element part of this api is finished.

 

  5. ItemEntity API

 

    ItemEntity is the TileEntity for Items in inventory. It can be used similar to the TileEntity.

    Instead of World, its worldObj is type of McInvWorld, which represents the 2-dimensional inventory.

    (It describes the inventory as world)

    And its position can be expressed using 2 coordinates (x and y).

    It is basically only applied to the player inventory, but you can make it applicable to your custom inventory.

 

    And This api also contains the 'MultiItem' system, which is the item version for the MultiBlock.

    They will be constructed when certain 'shape' is formed, and destroyed when the shape has broken.

 

  6. Heat API

 

    Heat API is the api which adds Heat System in minecraft.

 

    If you want to make new energy system, you can use this Heat system added by this api.

 

    In this api, Heat can be transferred between Heat Components,

    from hot component to cold component.

 

    You can register TileEntity as Heat Component,

    and control temperature of the tile entity,

    and decide what to do when heat is transferred in/out.

 

Downloads

 

  Latest Version:

  Version 0.3.0 | Direct

    - Source            | Direct

 

  Old Downloads:

 

 

 

  Version 0.3.0 | Direct

    - Decompiled      | Direct

    - Source            | Direct

  Version 0.2.0b | Direct

    - Decompiled      | Direct

    - Source            | Direct

  0.2.0aDirect

  0.1.0 | Direct

 

 

 

How To Use

  1. For Modders:

    You can download the decompiled SciAPI.jar file and add the jar file as the library. - (Temporarily unavailable)

    (Find out "Using APIs" in Minecraft Forge Forum.)

    You can see the source code at the github : https://github.com/Abastro/SciAPI

  2. For Mod Users:

    You can just download the SciAPI.jar file and put it in your mod folder.

    Make sure that Minecraft Forge is installed.

 

Update Log

 

 

  ver 0.1.0

    - Calculation API, Unit API, Heat API are created.

    - Unit API is almost finished.

  ver 0.2.0a

    - Application for minecraft is extended.

    - Data API, Chemical API is created.

    - Data API is almost finished.

    - Element part of Chemical API is almost finished.

  ver 0.2.0b

    - Fixed serious bugs in version 0.2.0a.

  ver 0.3.0

    - Added ItemEntity API.

  ver 0.4.0

    - Updated to 1.7.10.

    - Fixed some IE crash issues.

 

 

 

Inquiry

  You can Inquiry here. Any reports about bugs would be appreciated.

  You can also send email: [email protected].

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

comment_87366

It's a good idea, but if you wanted to add heat to a system it was easier to just make heat proportional to energy output, because that's how it worked in the real world. Can you add heat values to pre-existing blocks?

Communication is a vital tool, in the game industry you won't go anywhere without it. People are either going to learn to talk, or move on.

  • Author
comment_87447

I think my explanation for this api was insufficient.

 

This api is adding Heat System for minecraft,

which is another energy transportation system.

 

It is not applicable for normal blocks,

but for tile entities which implements IHeatComponent interface.

 

Amount of Transferred Heat is just proportional to temperature difference and thermal conductivity,

and when Heat is Transferred, OnTransferHeat Method of IHeatComponent called,

to change the Temperature of the component, or change the amount of water.

 

I'll have to change the explanation, anyway.

Thanks for reply.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • 4 weeks later...
  • 3 weeks later...
  • Author
comment_94305

Sci API version 0.2.0b had Released.

 

Data API, Chemical API had added.

Serious bugs on version 0.2.0a are fixed.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

  • 1 month later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.