Skip to content
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.

Wireless bridge for Pocket Computers #56

Closed
SquidDev opened this issue Jul 25, 2015 · 17 comments
Closed

Wireless bridge for Pocket Computers #56

SquidDev opened this issue Jul 25, 2015 · 17 comments

Comments

@SquidDev
Copy link
Member

Using Peripherals++'s Pocket computer upgrade. We can use the same API format as turtles, but scan the inventory or use the slot to the right or something to find a valid card.

I think the only issue with this is that players do not have an integer position, and so IWorldPosition is inaccurate.

@austinv11
Copy link

If you end up doing this, please feel free to give me feedback about the api! Also, submit a PR to edit this as you would for turtle upgrades.

@SquidDev
Copy link
Member Author

@austinv11 Do you have a maven repo? Just making mods a dependency using curse downloads is kinda annoying.

@austinv11
Copy link

I do with collective framework, but I guess I can create a repo for
peripherals++ too
On Jul 25, 2015 2:53 PM, "SquidDev" notifications@github.com wrote:

@austinv11 https://github.com/austinv11 Do you have a maven repo? Just
making mods a dependency using curse downloads is kinda annoying.


Reply to this email directly or view it on GitHub
#56 (comment)
.

@SquidDev
Copy link
Member Author

Ahh, here? Great!

@austinv11
Copy link

Yup. When I get back home in a few hours I could set up the Peripherals++
one.
On Jul 25, 2015 2:57 PM, "SquidDev" notifications@github.com wrote:

Ahh, here
http://jcenter.bintray.com/com/austinv11/collectiveframework/CollectiveFramework/
?


Reply to this email directly or view it on GitHub
#56 (comment)
.

@austinv11
Copy link

@SquidDev
Copy link
Member Author

@austinv11 Thanks! I'm probably being really stupid - but how do you create a pocket computer with a peripheral? - I can't find a crafting handler for it.

@austinv11
Copy link

What do you mean? In game?

@SquidDev
Copy link
Member Author

Yeah. I'm probably being stupid but crafting doesn't seem to work. Thanks for merging!

@austinv11
Copy link

Just craft a pocket computer with the peripheral of choice, however make sure that it isn't a wireless pocket computer!

@SquidDev
Copy link
Member Author

Hmmm, I'll test in a non-dev environment but I can't seem to get it to work. 167 is the latest correct. I found the handler. Was looking for IRecipe instead!


On another note: Unknown recipe class! com.austinv11.peripheralsplusplus.recipe.ContainerRecipe Modder please refer to net.minecraftforge.oredict.RecipeSorter You need to register your handler. I know it is odd having to do it twice.

@austinv11
Copy link

Hm, you may need to add some command line arguments then, particularly this: -Dfml.coreMods.load=com.austinv11.collectiveframework.minecraft.asm.CollectiveFrameworkEarlyTransformerPlugin,com.austinv11.peripheralsplusplus.asm.PeripheralsPlusPlusTransformerPlugin

Although the coremods should be loading since your running pre-compiled versions of the mod

@SquidDev
Copy link
Member Author

Its finding the Peripherals++ one, but not CollectiveFramework. You are doing some pretty dark magic in some of the CollectiveFramework classes 😜.
Ahh, so it isn't calling producing the FindMatchingRecipeEvent event. IRecipe exists for a reason 😄.

@austinv11
Copy link

Interesting...Gonna need to see why it isn't working with CollectiveFramework, and yes I am ;) I wish some of the hackiness wasn't required but coremods make everything weird.

@SquidDev
Copy link
Member Author

So the core mods argument makes your code work. Its now mine which is broken. 🎉 🍰. Thanks!

@austinv11
Copy link

Yeah.. I have no idea why I have that recipe working like it is. I think I was just too lazy to make an IRecipe. Looks like I should probably change it. Anyways, have fun fixing stuff.

@SquidDev
Copy link
Member Author

Note to self: Doesn't seem to save the binding.

@austinv11 Collective Framework is fixed now. Thanks!

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

No branches or pull requests

2 participants