Comments (9)
I think this is a buildcraft problem. Go report it there ;)
from minecraftforge.
This is indeed an issue - it wouldn't be so bad if we could ask the inventory if we are allowed to pull from, or place in an item. The only way round it right now is to special case furnaces and other mods output slots - which is not ideal.
from minecraftforge.
Agree. There should be a boolean for the "acess type".
from minecraftforge.
Is it time to import BC's ISpecialInventory?
from minecraftforge.
You shouldn't be able to put anything in the output slot, only in the two input slots. Probably something is messed up and instead of adding the item to the fuel slot it adds it to the output slot.
from minecraftforge.
ISidedInventory doesn't have a concept of a "remove-only" inventory. So if you can pipe out, you can pipe in. That's the thing about the exploit. Fixing that requires either extending ISidedInventory or using a new interface like ISpecialInventory.
from minecraftforge.
An other version would be adding a new Interface IRestrictiveInventory (or something like that) with a method:
boolean isItemValid(int slot, ItemStack stack)
This would allow a much more detailed control over item additions. The restrictive gui slots are already implemented that way (look at net.minecraft.src.Slot.isItemValid). If wanted, the slot class could also be patched to call the new method if available.
from minecraftforge.
I just made up some drafts for the IRestrictiveInventory class and the TileEntityFurnace:
https://dl.dropbox.com/u/63263434/Minecraft/IRestrictiveInventory.java
https://dl.dropbox.com/u/63263434/Minecraft/TileEntityFurnace.java.patch
from minecraftforge.
This is not a robust enough solution, I'll start riding Overmind about this he was working on a better solution.
from minecraftforge.
Related Issues (20)
- [1.20.6] `EventNetworkChannel` not working HOT 1
- [SECURITY] Vulnerabilities in Forge 47.2.X HOT 1
- [1.20.6] ATs still use SRG mappings HOT 1
- Vault Block crash in 1.20.6 HOT 2
- [1.20.6] getArmorTexture bug HOT 1
- [1.20.6] DeferredRegister for ArmorMaterial is broken HOT 2
- update mcp for 1.20.6 HOT 1
- finalizeSpawn() is always passed null SpawnGroupData
- forge 1.20.6 patches the stencil enable into the wrong spot
- [1.20.6] Shield does not work HOT 3
- Forge Crashes HOT 1
- Crash when mods folder contains jar file without mods.toml HOT 6
- The game crashed whilst unexpected error Error: java.lang.IllegalStateException: Missing registry: ResourceKey[minecraft:root / minecraft:dimension_type] HOT 1
- [1.20.6] Potion Brewing is broken
- [1.20.6] Cancelling MobSpawnEvent.FinalizeSpawn for a spawner causes NullPointerException
- 1.20.1 Forge Redstone differs from Vanilla and Fabric HOT 3
- [1.20.6] Game crashes when reloading a world that uses custom placed features HOT 2
- The drawing order of page numbers in CreativeModeInventoryScreen is incorrect HOT 3
- EntityInteractSpecific event isn't posted on the server side anymore
- [1.20.6] Forge fails to load brigadier classes in time for RegisterCommandsEvent leading to mod crashes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraftforge.