Archived
0
This repository has been archived on 2022-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
mc-server/flat_world/README.MD

28 lines
938 B
Markdown

# Flat world
Плоский мир
## Spring bean
```xml
<bean id="flatWorld" class="mc.world.flat.FlatWorld">
<property name="spawn">
<bean class="mc.core.EntityLocation">
<constructor-arg index="0" type="double" value="8"/>
<constructor-arg index="1" type="double" value="6"/>
<constructor-arg index="2" type="double" value="8"/>
<constructor-arg index="3" type="float" value="0"/>
<constructor-arg index="4" type="float" value="0"/>
<constructor-arg index="5" type="mc.core.world.World">
<null/>
</constructor-arg>
</bean>
</property>
</bean>
```
`spawn` - точка спавна.
При указании точки спавна, указывать шестой параметр `World` не имеет смысла,
т.к. `FlatWorld` всё равно перезапишет этот параметр.