Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KubeJS Integration #11

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

a-a-GiTHuB-a-a
Copy link

@a-a-GiTHuB-a-a a-a-GiTHuB-a-a commented Dec 19, 2024

Fixes: #9 (once it's done)

I don't know how to add tags—but this is a draft. Please don't merge this yet. kthx

TODO:

  • idk

@a-a-GiTHuB-a-a a-a-GiTHuB-a-a marked this pull request as draft December 19, 2024 23:18
@Deepacat
Copy link
Owner

Deepacat commented Dec 19, 2024

Fixes: #9 (once it's done)

doesn't "fix" it... just completes it

@Deepacat
Copy link
Owner

TODO:

  • idk

Material tiers, Spools, spools added to tiers, and connectors

Material tiers like

ArrayList<WireMaterial> baseTier1 = new ArrayList<>();
ArrayList<WireMaterial> baseTier2 = new ArrayList<>();
ArrayList<WireMaterial> ccaTier = new ArrayList<>();
ArrayList<WireMaterial> allTier = new ArrayList<>();

spools being wire materials assigned to a tier

WireMaterial copper = WireMaterials.getOrRegister("Copper", 0xE77C56);
WireMaterial gold = WireMaterials.getOrRegister("Gold", 0xFDF55F);

and connectors with their wire tier, color, size, and throughput

registerTier("Copper", 2048, 1, 0xC55E4B, baseTier1);
registerTier("Gold", 8192, 1, 0xf7bf31, baseTier2);

@Deepacat
Copy link
Owner

Deepacat commented Dec 19, 2024

Oops forgot adding materials to tiers

baseTier1.add(electrum);
baseTier2.add(electrum);
ccaTier.add(electrum);

Basically just a kubejs function for each of these

@a-a-GiTHuB-a-a
Copy link
Author

Fixes: #9 (once it's done)

doesn't "fix" it... just completes it

You marked it as an issue—that line just makes GitHub automatically close it once this thing gets merged.

@Deepacat
Copy link
Owner

Deepacat commented Dec 19, 2024

You marked it as an issue—that line just makes GitHub automatically close it once this thing gets merged.

image
enhancement.. not bug I wouldn't call it fixing lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add KubeJS support
2 participants