pc-logix / openprinter Goto Github PK
View Code? Open in Web Editor NEWOpenComputer compatible printer
License: MIT License
OpenComputer compatible printer
License: MIT License
the block just disappears, its no biggy, its cheap and i dont plan on moving it, but i thought id meson it
also the mod version is:
OpenPrinter-1.9.4-0.1.0.7
The printer model is really nice but doesn't fit well in Minecraft. Could you add a way to choose between the current model and a cube one ?
Forestry has a wonderful mail system, however, without the ability to automate the process of sending your spam what's the point of it's existence. It would be a nice feature to have the ability to use OpenPrinters to print off letters to mail off to people.
This would allow for projects such as automatically sending receipts / invoices for tasks, letting everyone on the server know about your great shop deals and deliver them coupons, send massive amounts of radioactive goods through the mail for everyone to open up on Christmas, automatically use the trade systems through OpenComputers and much much more!
I don't know if it's outside your desires to do though, just an idea that seemed fitting for a printer mod in my mind, though it does seem like it could be a large task.
EDIT: Printing postage onto a letter is something that matches the printer theme, I don't know about stuffing the letters with goods though...
EDIT2: The scanner could also be used as a method of scanning in the Forestry Catalog to read in all of the current trades on the server.
Ok, you probably know all of this, but here is a list of problems I found in OP as of this version (1.12.2-0.1.0.1):
item.printer_ink_color.name
.writeln()
function works unreliable. Works at times, but most times not.I wouldn't write one of these normally because it's a direct port of an older version, but due to the confusion on CurseForge about this being a "released" build, can cause some disappointment for other people who has been anticipated this for a long time.
This is a fantastic addon and in my opinion should be part of the vanilla OpenComputers mod. But before downloading this version, beware of bugs! Not server friendly and should only be used in a singleplayer world with backups!
Yep, another issue with OpenPrinter and TCon. The Printer Paper Roll item can't be crafted, as TCon trumps the recipe for the Paper Stack item (which uses 4x1 paper, instead of 4x64...).
Maybe this can be fixed with an option/a check for TCon, and if it's present, add a recipe that turns 4x16 paper stacks into a Printer Paper Roll?
Thank you very much for this mod :)
P.S. Are you also keeping changes up-to-date with both branches? I just grabbed the latest 1.7.2 build of OpenPrinter from Jenkins, and it still has the crafting issue from #4
Reported on IRC
[20:22:29] [Server thread/WARN]: Failed injecting component logic into class pcl.openprinter.tileentity.PrinterTE.
java.lang.NullPointerException
at li.cil.oc.common.asm.ClassTransformer.isFinal(ClassTransformer.scala:368) ~[OpenComputers-MC1.7.10-1.5.10.22-universal.jar:?]
at li.cil.oc.common.asm.ClassTransformer.isAssignable(ClassTransformer.scala:360) ~[OpenComputers-MC1.7.10-1.5.10.22-universal.jar:?]
at li.cil.oc.common.asm.ClassTransformer$$anon$1.getCommonSuperClass(ClassTransformer.scala:396) ~[OpenComputers-MC1.7.10-1.5.10.22-universal.jar:?]
add methods to print to books
Crashed when trying to open the folder with only the creative printed page inside. Could be an issue with optifine.
Step to reproduce
Crash report :
crash-2019-10-25_14.09.03-client.txt
Title says it all. This would be good in the event of a bad print, or if you just wanna recycle paper.
The xerox script on 1.10.2 seems to be slightly off. I'd make a PR, but I can't seem to find your 1.10.2 branch, and I'm also not sure if this reaches to other branches.
The xerox script has printer.setTitle(pageTitle)
on line 30, but in order for every page printed to have the proper title, that line needs to be in the for loop that starts on line 31.
The recipes for ink cartridges and printers uses the OpenComputers iron nugget, when instead it should be using the ore dictionary instead. This way, if someone were to use Tinker's Construct alongside OpenComputers and OpenPrinter, they can still craft things with the replaced nugget in TCon.
Not sure if it's just me, but I can't seem to set the color AND center text at the same time with this function.
I print some stuff, then i open it up and i get a crash. This is what it says:
Time: 4/19/20 4:33 AM
Description: Rendering screenjava.lang.ArrayIndexOutOfBoundsException: 2
at pcl.openprinter.gui.PaperGUI.func_73863_a(PaperGUI.java:116)
at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:396)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.optifine.reflect.Reflector.callVoid(Reflector.java:660)
at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1457)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1119)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
Please fix this and make a new release in the releases tab. Urgent!
More or less the same as folders, but non-block items can be placed inside (folders, cards, wrenches, ect.), instead of just 'papers'.
I have you the Black instant the 3D Model.
Then i See this: http://www7.pic-upload.de/02.05.14/6fxof2g4hbu9.png
http://paste.ubuntu.com/11917192/
line 4131
java.lang.NullPointerException
at net.minecraft.item.crafting.CraftingManager.func_92103_a(CraftingManager.java:230) ~[afe.class:?]
at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250) ~[GameRegistry.class:?]
at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245) ~[GameRegistry.class:?]
at pcl.openprinter.OpenPrinter.load(OpenPrinter.java:151) ~[OpenPrinter.class:?]
OpenPrinter-MC1.7.10-0.1.0.117
It works good
9-slot inventories, able to hold papers and possibly packets? (Explained below).
A packet would be anywhere from 2-4 papers crafted with paperclips (No idea how to make these) and would be usable like a signed book, where you can open it, read it, and flip through the pages.
If folders were dyable, this would allow the player to have a rudimentary sorting system for their papers, and would be neat for some of the more RP-oriented servers since things like ExU filing cabinets exist.
Look at #L124. I think there should be args.checkInteger(0)
probably as UUID in the printed page NBT
Both the printer and shredder show both in inventory and placed in the world as blocks, with no custom model. The filing cabinet shows a missing texture in my inventory, and a block when placed in the world
So I NEI'd myself a printer, both types of ink cartridges, and a roll of paper. I went to put everything into the printer and... my inventory kept getting jumbled? And it duplicated the ink and paper?!
This testing was done in multiplayer.
Just curious about the status of porting to 1.11.2. Not asking for a date or anything, just wondering.
Also, this is a very cool mod.
Would allow to reverse the process of printing.
Would be nice to see it for 1.4 OC, OpenPrinter is currently the only mod holding me back from using OC 1.4 on my server
Hi, I was directed here by the creator of OpenComputers, since OC was missing printers, and this mod implements what I was missing! Except this was made for the 1.6.x branch of Minecraft.
Any plans to update to 1.7.2?
[11:18:56] [Client thread/WARN]: Unable to parse metadata section of resourcepack: FMLFileResourcePack:OpenPrinter
com.google.gson.JsonParseException: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 13 column 2
at net.minecraft.client.resources.AbstractResourcePack.func_110596_a(SourceFile:65) ~[bqn.class:?]
at net.minecraft.client.resources.AbstractResourcePack.func_135058_a(SourceFile:55) ~[bqn.class:?]
at net.minecraft.client.resources.LanguageManager.func_135043_a(LanguageManager.java:50) [brr.class:?]
at net.minecraft.client.Minecraft.func_110436_a(Minecraft.java:611) [bao.class:?]
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:303) [FMLClientHandler.class:?]
at com.creativemd.minecraftloader.ClientHelper.startGame(ClientHelper.java:307) [ClientHelper.class:?]
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java) [bao.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) [bao.class:?]
at net.minecraft.client.main.Main.main(SourceFile:148) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.11.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_67]
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:286) [NewLaunch.jar:?]
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:376) [NewLaunch.jar:?]
at org.multimc.EntryPoint.listen(EntryPoint.java:165) [NewLaunch.jar:?]
at org.multimc.EntryPoint.main(EntryPoint.java:54) [NewLaunch.jar:?]
Caused by: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 13 column 2
at com.google.gson.JsonParser.parse(JsonParser.java:65) ~[JsonParser.class:?]
at net.minecraft.client.resources.AbstractResourcePack.func_110596_a(SourceFile:63) ~[bqn.class:?]
... 22 more
Caused by: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 13 column 2
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:531) ~[JsonReader.class:?]
at com.google.gson.stream.JsonReader.peek(JsonReader.java:414) ~[JsonReader.class:?]
at com.google.gson.JsonParser.parse(JsonParser.java:60) ~[JsonParser.class:?]
at net.minecraft.client.resources.AbstractResourcePack.func_110596_a(SourceFile:63) ~[bqn.class:?]
... 22 more
Instance still launches successfully, might resolve this for future cleanliness.
Quite simply, having a means of taking a blank map, sticking it into the paper tray of a printer, and using a computer to print a 128x128 pixel-sized color image to said blank map would be amazing. We can then hang the picture on a wall with an Item Frame! This is something the original printer mod for ComputerCraft did, before dan200 added official printers.
use ITEM_HANDLER Capability for Inventories
move static Recipes to JSON files
add description annotations to oc callbacks
optional:
complete wiki documentation
add ingame manual synced from git wiki
more accurate (smaller) hitbox for the printer
change recycling paper shreds recipe to just use a bottle instead of a full bucket?! Nope
move printer FS to lootdisk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.