Jump to content

[1.10.2] Working with RF


American2050
 Share

Recommended Posts

Guys I have a question, I have never look into trying to produce/consume/hold energy into a mod before.

 

My problem/question is. How do mods in 1.9+ support RF if the API from the COFH Team is 2 years old and it wasn't updated (at least that I know of)

 

How would you handle RF, I don't know where to start.

 

Thanks a lot.

Link to comment
Share on other sites

So... One question.

 

I have 2 TE, one that uses the Forge implementation of IEnergyStorage and anotherone that is using a COFH IEnergyHandler

 

On the one using the Forge Method I have canExtract and canReceive both set to true, but an EnderIO cable wont connect with my TE.

 

On the one using the COFH Method I have canConnectEnergy set to true an the cable does connect.

 

PS: I also have this 2 methods on the Forge one

 

	@Override
public boolean hasCapability(Capability<?> capability, EnumFacing facing) {
	if(capability==CapabilityEnergy.ENERGY) return true;
	return false;
}

@Override
public <T> T getCapability(Capability<T> capability, EnumFacing facing) {
	// TODO Auto-generated method stub
	return (T)storage;
}

 

I guess I'm not registering something.

Link to comment
Share on other sites

but an EnderIO cable wont connect with my TE

 

Does EnderIO use the Forge capability system?

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

but an EnderIO cable wont connect with my TE

 

Does EnderIO use the Forge capability system?

 

Probably no, I have seen that they still have the COFH API on their 1.10.2 version, so maybe that's the problem.

 

I will keep going the forge way and make my own cables and storage to get some practice. Or maybe add some mod to my dev environment that does use the Forge Capability System ;)

 

Anyone know of a good tutorial out there on all the code that needs to be considering when handling energy?

Link to comment
Share on other sites

I'm confuse on how to work with this capabilities to be compatible with other mods.

 

Let's say I have a Solar Panel producing internal energy. Is it me that have to seach for other TE around me and send energy to them? Or they will try to extract energy from?

 

In any (or both) of the cases, is there a general guideline of things to consider when doing all this? I'm not sure how to start.

Link to comment
Share on other sites

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
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • The mods you are using use Mixin. You are using Java 19. Java 19 breaks Mixin somehow. You must downgrade to Java 17.
    • Can you send the crash report? Crash reports are usually very helpful and most of the time say exactly what mod caused the problem. Also, you should note that throwing 226 mods together all at once is a very bad idea because if you get a crash, it is VERY hard to find which of the 226 mods caused the problem. Also shoving mode mods into it won't fix the problem, if anything it will make it worse.
    • Tenía el mismo error y lo solucioné actualizando Java, quizá te funcione.
    • Okay, so I had this modpack that I made (I have no idea what I'm doing with it, I just thought: hey, i like these (x, y, and z mods) mods, and I haven't found one already made that I like or has current mod updates, so I shoved a bunch of mods I like, and stabilizing/QoL mods to hopefully help make it work. The current count is 226 mods in one pack, and I am getting an error code 1. I had just added some other mods to hopefully stabilize it better, when this happened and now I am immediately kicked to a crash report. I frankly have no idea what went wrong, or how to fix it, so I am posting here to ask for help.       Mod List: [1.18.2] BobLib-0.3.0.jar   3dskinlayers-forge-1.5.2-mc1.18.2.jar   AI-Improvements-1.18.2-0.5.2.jar   angelring-1.18.2-2.0.2.jar   Apotheosis-1.18.2-5.7.7.jar   archarsenal-1.18.2-1.1.jar   archers_paradox-1.18.2-3.2.0.12.jar   architectury-4.11.89-forge.jar   ars_creo-1.18.2-2.1.4.jar   ars_elemental-1.18.2-0.4.9.9.jar   ars_industria-1.18.2-0.1.jar   ars_nouveau-1.18.2-2.8.0.jar   ars_scalaes-1.18.2-1.8.1-rework.jar   artifacts-1.18.2-4.2.0.jar   AttributeFix-Forge-1.18.2-14.0.2.jar   AutoRegLib-1.7-53.jar   Avaritia-1.18.2-4.0.0.4-universal.jar   badpackets-forge-0.1.3.jar   balm-3.2.2+0.jar   BasicEndOres-1.18.2-2.1.0.jar   baubley-heart-canisters-1.18.2-1.0.0.jar   bdlib-1.19.3.7-mc1.18.2.jar   BedBenefits-Forge-1.18.2-6.0.2.jar   BetterAdvancements-1.18.2-0.2.0.146.jar   BetterCompatibilityChecker-1.1.21-build.48+mc1.18.2.jar   betterinvisibility-1.18.1-1.0.4.jar   betterstats-2.2+1.18.2.jar   BetterThirdPerson-Forge-1.18.2-1.9.0.jar   bfendcities-1.0.jar   Bookshelf-Forge-1.18.2-13.2.52.jar   BotanyPots-Forge-1.18.2-8.1.25.jar   BotanyTrees-Forge-1.18.2-4.0.6.jar   bygonenether-1.2.2-1.18.2.jar   caelus-forge-1.18.1-3.0.0.2.jar   caitsmod-0.1.0-1.18.2.jar   catalogue-1.6.2-1.18.2.jar   citadel-1.11.3-1.18.2.jar   clienttweaks-forge-1.18.1-7.1.0.jar   cloth-config-6.4.90-forge.jar   Clumps-forge-1.18.2-8.0.0+17.jar   CodeChickenLib-1.18.2-4.1.3.480-universal.jar   cofh_core-1.18.2-9.2.1.39.jar   collective-1.18.2-6.43.jar   colytra-forge-1.18.1-5.2.0.4.jar   comforts-forge-1.18.2-5.0.0.5.jar   CommonCapabilities-1.18.2-2.8.2.jar   Controlling-forge-1.18.2-9.0+22.jar   convenientcurioscontainer-1.11-1.18.2.jar   cookiecore-1.18.2-4.0.1-6677a05.jar   CosmeticArmorReworked-1.18.2-v2a.jar   craftingtweaks-forge-1.18.2-14.0.3.jar   create-1.18.2-0.5.0.i.jar   CreativeCore_FORGE_v2.6.15_mc1.18.2.jar   CTM-1.18.2-1.1.5+5.jar   Cucumber-1.18.2-5.1.3.jar   curioofundying-forge-1.18-5.3.0.0.jar   curios-forge-1.18.2-5.0.7.1.jar   curious-armor-stands-1.18.1-4.0.0.jar   curiouselytra-forge-1.18.1-5.0.1.0.jar   curiouslanterns-1.18.2-1.2.0.jar   curiouslights-forge-1.3.0+1.18.2.jar   curiousshulkerboxes-forge-1.18.1-4.2.0.0.jar   CyclopsCore-1.18.2-1.16.2.jar   DarkerDepths-1.18.2-1.0.6-patch4.jar   darkness-forge-mc118-2.0.91.jar   DarkUtilities-Forge-1.18.2-10.1.6.jar   debugify-1.10.0-forge-1.18.2.jar   defaultoptions-forge-1.18.2-14.1.1.jar   Ding-1.18.2-Forge-1.4.0.jar   druidcraftrg-0.0.12.jar   DungeonCrawl-1.18.2-2.3.10.jar   DungeonsArise-1.18.2-2.1.52-release.jar   dynamiclights-1.18.6.jar   dynview-1.18.2-2.8.jar   EasyMagic-v3.3.0-1.18.2-Forge.jar   eccentrictome-1.18.2-1.9.1.jar   elenaidodge2-1.0.2.jar   elevatorid-1.18.2-1.8.4.jar   End Mod 2.1.1.jar   EnderBags-1.18.1-8.0.0.jar   enderchests-1.18-1.9.7.jar   endercrop-1.18.2-1.7.0-beta.jar   EnderStorage-1.18.2-2.9.0.182-universal.jar   endertanks-1.18-1.11.8.jar   endportalrecipe-1.18.2-5.0.jar   End's Phantasm - BETAv1.2.9.2 - 1.18.2.jar   Enhanced_Celestials-forge-1.18.2-2.0.7.jar   EnigmaticLegacy-2.25.0.jar   enlightened-end-1.18.2-v28.jar   Entity_Collision_FPS_Fix-forge-1.18.2-1.0.0.jar   entityculling-forge-mc1.18-1.5.1.jar   EquipmentCompare-1.18.2-forge-1.3.3.jar   everycomp-1.18.2-1.5.15.jar   expandability-6.0.0.jar   ExplorersCompass-1.18.2-1.3.0-forge.jar   Fairy's End v24[UnholyCursed].jar   FallingTree-1.18.2-3.5.4.jar   fancymenu_forge_2.13.3_MC_1.18.2.jar   FarmersDelight-1.18.2-1.2.0.jar   FastFurnace-1.18.2-6.0.3.jar   FastWorkbench-1.18.2-6.1.1.jar   feathers-1.0.3.jar   feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar   ferritecore-4.2.2-forge.jar   findme-3.0.6-forge.jar   flywheel-forge-1.18.2-0.6.8.a.jar   forbidden_arcanus-1.18.2-2.1.1.jar   forgivingvoid-forge-1.18.1-6.0.1.jar   FpsReducer2-forge-1.18.2-2.0.jar   ftb-chunks-forge-1802.3.13-build.234.jar   ftb-library-forge-1802.3.9-build.167.jar   ftb-teams-forge-1802.2.10-build.96.jar   geckolib-forge-1.18-3.0.57.jar   goblintraders-1.8.0-1.18.2.jar   graphutil-forge-1.0.0-mc1.18.2.jar   healingcampfire-1.18.2-5.0.jar   hexerei-0.2.2.jar   homing_ender_eye-1.18.2-1.2.3.jar   Iceberg-1.18.2-forge-1.0.49.jar   inventoryessentials-forge-1.18.2-4.0.2.jar   inventorysorter-1.18-19.0.0.jar   ironchest-1.18.2-13.2.11.jar   item-filters-forge-1802.2.8-build.47.jar   ItShallNotTick-1.0.22-build.34.jar   Jade-1.18.2-forge-5.2.6.jar   jei-1.18.2-9.7.1.255.jar   jeiintegration_1.18.2-9.0.0.37.jar   JEITweaker-1.18.2-3.0.0.9.jar   JustEnoughResources-1.18.2-0.14.1.171.jar   knightcore-1.18.2-1.1.jar   konkrete_forge_1.6.0_MC_1.18-1.18.2.jar   kotlinforforge-3.9.1-all.jar   L_Enders Cataclysm-0.51-hotfix-1.18.2.jar   letmedespawn-1.18.x-1.19.x-forge-1.0.3.jar   libIPN-forge-1.18.2-2.0.2.jar   LibX-1.18.2-3.2.18.jar   Magic Shards.jar   magicfeather-1.18.2-4.2.0.jar   mahoutsukai-1.18.2-v1.34.38.jar   Mantle-1.18.2-1.9.43.jar   MaxHealthFix-Forge-1.18.2-5.0.1.jar   mcjtylib-1.18-6.0.20.jar   mna-1.7.2.10.jar   modnametooltip-1.18.1-1.18.0.jar   moredragoneggs-3.1.jar   MoreSlotSwap-v1.0.1-mc1.18.2-forge.jar   MouseTweaks-forge-mc1.18-2.21.jar   MyServerIsCompatible-1.18-1.0.jar   Nameless Trinkets-1.18.2-1.6.10.jar   naturalist-forge-1.1.1-1.18.2.jar   NaturesCompass-1.18.2-1.9.7-forge.jar   Neat-1.8-31.jar   netherportalfix-forge-1.18-9.0.0.jar   observable-2.2.3-forge.jar   OpenLoader-Forge-1.18.2-12.0.1.jar   overloadedarmorbar-1.18.2-6.jar   Patchouli-1.18.2-71.1.jar   PigPen-Forge-1.18.2-8.0.1.jar   Placebo-1.18.2-6.6.6.jar   polylib-forge-1801.0.2-build.13.jar   polymorph-forge-1.18.2-0.46.jar   potionsmaster-0.5.9-1.18.2-40.0.2.jar   Prism-1.18.2-1.0.1.jar   PuzzlesLib-v3.3.5-1.18.2-Forge.jar   ReAuth-1.18-Forge-4.0.6.jar   refinedstorage-1.10.4.jar   REIPluginCompatibilities-forge-8.0.42.jar   relics-1.18.2-0.4.1.8.jar   reliquary-1.18.2-2.0.19.1161.jar   repurposed_structures_forge-5.1.14+1.18.2.jar   rhino-forge-1802.2.1-build.255.jar   RingOfEnderchest-Forge-1.18.2-1.4.8.jar   RingsOfAscension-1.18.2-1.0.1.jar   RoughlyEnoughItems-8.3.588.jar   ScalableCatsForce-2.13.10-build-12-with-library.jar   ScalingHealth-1.18.2-6.3.0+5.jar   selene-1.18.2-1.17.9.jar   shetiphiancore-1.18-3.10.12.jar   shutupexperimentalsettings-1.0.5.jar   silent-lib-1.18.2-6.2.0.jar   simplearchivist-0.5-1.18.2.jar   simpleheartsbeta.jar   smoothboot(reloaded)-mc1.18.2-0.0.2.jar   SmoothMenu-1.18.2-1.0.0.jar   sophisticatedbackpacks-1.18.2-3.18.40.777.jar   sophisticatedcore-1.18.2-0.5.37.202.jar   sophisticatedstorage-1.18.2-0.6.16.274.jar   spark-1.9.11-forge.jar   starterkit-1.18.2-5.0.jar   structure_gel-1.18.2-2.4.7.jar   supermartijn642configlib-1.1.6-forge-mc1.18.jar   supermartijn642corelib-1.1.1a-forge-mc1.18.jar   supplementaries-1.18.2-1.5.16.jar   TConstruct-1.18.2-3.6.2.92.jar   Tips-Forge-1.18.2-5.0.11.jar   TipTheScales-forge-1.18.2-5.0.6.jar   titanium-1.18.2-3.5.7-39.jar   ToastControl-1.18.2-6.0.3.jar   ToolStats-Forge-1.18.2-9.0.3.jar   torchmaster-18.1.0.jar   trashslot1.18.2.jar   UnusualEnd1.18_V1.3.0.jar   upgradedcore-1.18.2-3.2.0.0-release.jar   upgradednetherite-1.18.2-4.2.0.6-release.jar   valhelsia_core-forge-1.18.2-0.4.0.jar   valhelsia_structures-forge-1.18.2-0.1.0.jar   valhelsia_tweaks-forge-1.18.2-0.1.0.jar   valkyrienskies-118-2.1.0-beta.10.jar   villagertools-1.18-1.0.2.jar   VisualWorkbench-v3.3.0-1.18.2-Forge.jar   voidtotem-forge-1.18.2-1.3.1.jar   waystone_towers-1.18.2-FORGE-1.0.9.jar   waystones-forge-1.18.2-10.1.0.jar   whats-that-slot-forge-1.2.3+1.18.1.jar   WitherSkeletonTweaks-1.18.2-7.1.3.jar   wmitaf-forge-mc1.18.2-2.4.0.jar   wyml-forge-1.18.2-1.1.4.jar   Xaeros_Minimap_22.17.1_Forge_1.18.2.jar   XaerosWorldMap_1.28.8_Forge_1.18.2.jar   YungsApi-1.18.2-Forge-2.2.7.jar   YungsBetterDesertTemples-1.18.2-Forge-1.3.1.jar   YungsBetterDungeons-1.18.2-Forge-2.1.0.jar   YungsBetterMineshafts-1.18.2-Forge-2.2.jar   YungsBetterOceanMonuments-1.18.2-Forge-1.0.3.jar   YungsBetterStrongholds-1.18.2-Forge-2.1.1.jar   YungsExtras-1.18.2-Forge-2.1.0.jar
    • Hi, I'm trying to make a modded Forge server so me and my friends can play together, but when I add the mods to the mods folder, I get an error. If I have the server by itself, no mods, everything runs fine. I don't know what is happening so if someone could please help that would be great. I left the crash report below.  
  • Topics

×
×
  • Create New...

Important Information

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