copygirl / betterstorage Goto Github PK
View Code? Open in Web Editor NEWA Minecraft mod aimed at offering more storage options.
Home Page: http://copy.mcft.net/mc/BetterStorage/
License: MIT License
A Minecraft mod aimed at offering more storage options.
Home Page: http://copy.mcft.net/mc/BetterStorage/
License: MIT License
Is only available as an item when crafting, never if not crafted normally.
Teleports when attempted to be broken. Has to be equipped to be moved.
Multi-block structure that can store a large number of individual items (meaning 64 dirt will take up the same space as 64 swords). Should feature a GUI with scroll bar and search box.
There is some code ready for this in TileEntityContainer, but it's not used yet.
Maybe 24 (less than a chest, more than a crate) or 32 (more than a normal chest, less than a reinforced one) stacks. This is because barrels make it easier to organize things, and with other mods sorting can be done pretty easily. I don't want them to be as large as factorization barrels. Perhaps it'll be a config option.
Compatible with machines, items can be put into or pulled out of any sides.
Two options:
Liquid API compatible, so liquids can be pumped in of out or them from any side.
There'll be recipes for barrels, meaning some items and liquid can be stored together and create different items and/or liquid. When the amount of items and liquid is right, the process starts and after a variable amount of time the recipe finishes.
Maybe multiple items can be processed at the same time, but each of them will have it's own timing which will start when the requirements for those are met and reset when something is missing.
1 bucket = 1B = 1000mB (millibuckets)
1 bottle = 250mB (also see MinecraftForge/MinecraftForge#795)
6 sticks + 200mB water => 60sec => 4 pulp, used for cardboard
8 paper + 125mB water => 30sec => 2 pulp
6 rotten flesh + 500mB milk => 40sec => 1 leather
1 obsidian + 250mB lava => 80sec => 1 obsidian ingot
1 potion ingredient + 1B water / potion liquid => 120sec => 1B potion liquid with ingredient applied
This is an alternative to normal brewing. More efficient, but takes more time.
Maybe add recipes for turning metal items back into their ingots at the cost of some lava.
The GUI will have at least 1 item slot, 1 region for the amount of liquid and a way to display the progress of the recipe. Most likely I'll add an item output slot, which is only visible when needed. Maybe an output liquid region, but I could just require the liquid amount to match exactly.
Different materials: Basic, water proof (can hold water, milk, and other registered liquids), improved (can hold all liquids, more storage). Another tier you can get to with Thaumcraft is also an option. Will be compatible with #23.
This is obviously something I'll have to test out, see if I can find the right feel for it. Otherwise I might just scrap everything to be completely honest. With the grate block I may not even need liquid storage in a block. Crates are a good alternative. Many other mods have barrels. The only reason I want to add them is because of the recipe idea I had.
May be CratePileCollection.getSaveDirectory not returning the correct folder.
Would have a high chance (depending on difficulty) to have a lock that's enchanted.
If the lock has the trigger enchantment, place some TNT below it.
Crash-report: http://pastebin.com/iyE1C6aR (This was with LP with the Special BetterStorage handler disabled)
When an mod tries to remove an item from crates by setting the slot to null BetterStorage throws an NPE.
To fix this you could add something like:
if(stack == null) {
data.removeItems(oldStack);
return;
}
And additionaly a question:
Would LP be allowed to bypass the new config option and connect to crates even when the option is disabled inside the BetterStorage config. LP would get it's own config option for that which would be on by default. Because LP has a special handler for Crates there shouldn't be any dupe bug.
Sure, for "storing" potions. Totally not just an excuse for adding them. (This is all your fault, Nishtown!)
Will allow mods to access crate data directly, allowing them to view all items and increase performance when interacting with them.
This should fix any problems with machines and stuff once and for all. No more incompatibilities.
edit: See here for current status.
This would only work as long as the players are close together and the back of the player with the backpack is facing the player who's trying to access it.
Level 1: Makes the lock invisible. Rarely shimmers very subtle.
Level 2: Makes the whole container invisible. Probably hide the bounding box.
Nishtown's had this problem twice now, so it's not just a random happening. It seems like after a certain point, crates don't get saved at all anymore. Cause is unknown.
It looks like your locked inventories can still be pulled from when they're locked. This defeats the purpose of locking them. I was able to attach a wooden transport pipe to a locked chest and use an autarchic gate to pull all the contents out.
I was recently trying to add your locks to another storage mod but when I got to handling the block hardness and explosion resistance I found that there's no pure API method for handling the enchantment modification. You might need to add something to the API that accounts for the lock being enchanted without the other mods having to use your code to build against.
It's probably possible to put more items in the container than what should possible.
The tile entity is needed to create the GUI for the player, but that may not actually be there. Like in the rare case the player destroys the tile entity while trying to access it (although it's easily reproducible).
When the item identifiers match, only use addItems or removeItems, instead of removing all items from the stack and then adding them.
The idea is to have an item that allows transporting stuff from one place to another, but can only be used once to avoid it turning into a cheap way to expand the player's inventory.
Display some or all of the contents in the box's tooltip.
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.