Archived
0

обновление README

This commit is contained in:
2019-01-30 00:08:07 +03:00
parent 03944e2900
commit 5bf1ac1b84
10 changed files with 249 additions and 29 deletions

5
anvil-loader/README.MD Normal file
View File

@@ -0,0 +1,5 @@
# Anvil loader
Загрузчик "ванильных" (vanilla, ["Anvil"](https://minecraft.gamepedia.com/Anvil_file_format)) карт Minecraft.
Пример настройки можно посмотреть в файле `sample-config.xml`

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd">
<context:annotation-config />
<bean id="spawnLocation" class="mc.core.EntityLocation">
<constructor-arg index="0" type="double" value="8"/>
<constructor-arg index="1" type="double" value="64"/>
<constructor-arg index="2" type="double" value="8"/>
<constructor-arg index="3" type="float" value="0"/>
<constructor-arg index="4" type="float" value="0"/>
</bean>
<!-- В качестве хранилища, используется модуль Simple world -->
<bean id="simpleWorld" class="mc.world.simple.SimpleWorld">
<property name="spawn" ref="spawnLocation"/>
<property name="chunkProvider">
<bean class="mc.world.anvil.AnvilChunkProvider">
<constructor-arg index="0" type="java.lang.String" value="path/to/minecraft/maps/New world"/>
</bean>
</property>
</bean>
</beans>