Comments (5)
pickblock event is client only and sends the stack directly to server side.
from bluerpg.
Yeah I know, problem is because we don't send unidentified item data to clients (to prevent hax), the data doesn't get cloned either.
from bluerpg.
I made pickblock event on server side only client can't hack the server's code and converted it to forge events found here and here:
https://github.com/jredfox/evilnotchlib/blob/master/src/main/java/com/evilnotch/lib/asm/transformer/GeneralTransformer.java#L28
https://github.com/jredfox/evilnotchlib/blob/master/src/main/java/com/evilnotch/lib/main/eventhandler/PickBlock.java
However don't do what I did or our mods would remain. Is there a way multple overrides of pickblock event could exist?
I did this so silkspawners could properly fetch spawnpotentials while middle clicking a spawner block
from bluerpg.
Thanks.
The server is already notified of the player using "pick block" in a gui though, so I'd rather hook into that directly, see
BlueRPG/src/main/kotlin/be/bluexin/rpg/containers/RPGContainer.kt
Lines 222 to 239 in 9398970
from bluerpg.
But anyway, this is low priority compared to some other stuff on the roadmap.
from bluerpg.
Related Issues (20)
- Skin recipe not limited to pet eggs
- New container
- Render additional info on GUI
- Add Bags
- Add classes onto GUI
- Add jobs onto GUI
- Allow executing right-click action from inventory
- Add customized GUIs for existing containers
- Add the ability to increase primary stats from the inventory gui
- Pet egg lore is too long
- Add feedback on egg hatching
- Picking up items doesn't properly check for existing stacks
- Make the scroll bar for stats draggable
- Set base value for psyche to 20
- Prevent classical item shenanigans with Skills
- Client crash with ender chest
- Crash on server with spell projectiles
- Exploit with area damage weapons NĀ°1
- Exploit with area damage weapons NĀ°2 HOT 1
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 bluerpg.