Comments (3)
Of course, I can't prevent people from writing tests that rely on the client. However, I'm not sure if I want to officially support it, since it will limit how I can expand McTester.
The nice thing about using the method in Client is that it gives you the synchronization and ordering you would expect - once the method returns, the server has already processed the client's reply.
from mctester.
It may be a difficulty. Minecraft itself has a lot of public fields that are hard to restrict their usages. Some of the usages of the fields are not bad, such as player, world, and open gui access.
from mctester.
If you can have runOnClient
method, I suggest you changing it to a consumer of Minecraft
since that class is one of the most frequently used object on the client
from mctester.
Related Issues (11)
- Support multiple clients
- Handle SpongeVanilla being on the classpath
- Investigate strange packet race conditions
- Document all race condition fixes
- Allow running server-only tests
- Decide on future of Kotlin support HOT 1
- Add support for using McTester from a Sponge plugin
- Different test behavior using travis-ci HOT 1
- "Shadow field languageManager was not located in target class net.minecraft.client.Minecraft." HOT 1
- Move to using a production SpongeForge jar
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 mctester.