Comments (2)
附上一个类型表
{
"properties": [
{
"name": "type:bool",
"type": 2i
},
{
"enum": [
"park",
"reverse",
"neutral",
"drive"
],
"name": "type:enum",
"type": 3i
},
{
"max": 30.0f,
"min": 0.0f,
"name": "type:float",
"type": 1i
},
{
"max": 4i,
"min": 0i,
"name": "type:int",
"type": 0i
}
],
"type": "minecraft:player"
}
使用如下内容
"properties": {
"type:bool": {
"type": "bool",
"client_sync": true,
"default": "true"
},
"type:int": {
"type": "int",
"range": [0, 4],
"client_sync": true,
"default": "0"
},
"type:float": {
"type": "float",
"range": [0.0, 30.0],
"client_sync": true,
"default": "math.random(20, 25)"
},
"type:enum": {
"type": "enum",
"values": ["park", "reverse", "neutral", "drive"],
"default": "park",
"client_sync": true
}
}
from powernukkitx.
from powernukkitx.
Related Issues (20)
- 1.20.40 Compatibility HOT 1
- Issue With Decorated Pot HOT 2
- feat: Using runtimeId <-> block state hash <-> block state tag mapping instead of compute them HOT 1
- Crash HOT 5
- refactor: using data from allay project
- refactor: remove the support of block state hash computing
- Please deban me in discord PowerNukkitX HOT 1
- Mud block can be broken only with shovel HOT 1
- Error after upgrading 1.20.50-r1 HOT 8
- Can't start server with error "Unrecognized VM option 'EnableJVMCI'" HOT 1
- Player Login Failure Due to PluginI18n Error HOT 1
- Terra HOT 1
- [feature] Alternative to the removed InventoryTransactionEvent
- Server dying due to Lunar Hack HOT 2
- Loading worlds Chunk HOT 4
- [ERROR] An error occurred whilst handling CommandRequestPacket
- [Repuest]Update Version HOT 7
- [CRASH] Terra crash server on 1.20.6-rc1 HOT 2
- [BUG] /relaod also reloads custom items HOT 6
- [BUG] Player Occasionally Sinking into the Ground When Changing Worlds
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 powernukkitx.