Build error java
AnthonyRousset opened this issue ยท 9 comments
Minecolonies version
version 0.8
Expected behavior
./gradlew build
...
BUILD SUCCESSFUL
Actual behaviour
i have error on "./gradlew build" and
When start server minecraft , mod isnt launch
Steps to reproduce the problem
1/ ./gradlew build
This mapping 'snapshot_20161209' was designed for MC 1.11! Use at your own peril.
Cannot run the CurseUpload sequence. No API-Key or release type has been provided.
Found AccessTransformer: minecolonies_at.cfg
:deobfCompileDummyTask
:deobfProvidedDummyTask
:sourceApiJava UP-TO-DATE
:compileApiJava
Note: /home/game/minecraft/minecolonies/build/sources/api/java/com/minecolonies/api/colony/requestsystem/factory/IFactoryController.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processApiResources UP-TO-DATE
:apiClasses
:apiJar UP-TO-DATE
:sourceBlockOutJava UP-TO-DATE
:compileBlockOutJava UP-TO-DATE
:processBlockOutResources UP-TO-DATE
:blockOutClasses UP-TO-DATE
:blockOutJar UP-TO-DATE
:sourceMainJava UP-TO-DATE
:sourceStructuresJava UP-TO-DATE
:compileStructuresJava UP-TO-DATE
:processStructuresResources UP-TO-DATE
:structuresClasses UP-TO-DATE
:compileJava
**/home/game/minecraft/minecolonies/build/sources/main/java/com/minecolonies/coremod/entity/EntityCitizen.java:861: warning: [unchecked] unchecked cast
return (T) new InvWrapper(inventory);
^
required: T
found: InvWrapper
where T is a type-variable:
T extends Object declared in method <T>getCapability(Capability<T>,EnumFacing)
/home/game/minecraft/minecolonies/build/sources/main/java/com/minecolonies/coremod/inventory/api/AbstractCombinedItemHandler.java:77: warning: [rawtypes] found raw type: INBTSerializable
final INBTSerializable serializable = (INBTSerializable) handlerModifiable;
^
missing type arguments for generic class INBTSerializable<T>
where T is a type-variable:
T extends NBTBase declared in interface INBTSerializable
/home/game/minecraft/minecolonies/build/sources/main/java/com/minecolonies/coremod/inventory/api/AbstractCombinedItemHandler.java:109: warning: [rawtypes] found raw type: INBTSerializable
final INBTSerializable serializable = (INBTSerializable) modifiable;
^
missing type arguments for generic class INBTSerializable<T>
where T is a type-variable:
T extends NBTBase declared in interface INBTSerializable
/home/game/minecraft/minecolonies/build/sources/main/java/com/minecolonies/coremod/inventory/api/AbstractCombinedItemHandler.java:110: warning: [unchecked] unchecked call to deserializeNBT(T) as a member of the raw type INBTSerializable
serializable.deserializeNBT(handlerCompound);
^
where T is a type-variable:
T extends NBTBase declared in interface INBTSerializable
4 warnings**
:processResources UP-TO-DATE
:classes
:deobfJar UP-TO-DATE
:structuresJar UP-TO-DATE
:jar
:sourceTestJava UP-TO-DATE
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:getVersionJson
:extractUserdev UP-TO-DATE
:genSrgs SKIPPED
:reobfJar
:extractRangemapReplacedMain
/home/game/minecraft/minecolonies/build/sources/main/java
:retromapReplacedMain UP-TO-DATE
:sourceJar UP-TO-DATE
:assemble
:check
:signJar SKIPPED
:build
BUILD SUCCESSFUL
PS : you need to update your README.md
ok , i need to update build.properties ?
`
#Sun Jan 24 19:17:22 CST 2016
minecraft_version=1.11.2
forge_version=13.20.0.2228
minecolonies_major=0
minecolonies_minor=8
#deprecated, travis versioning instead
minecolonies_build=25
minecolonies_mappings=snapshot_20161209
`
@kaloutch why would you need that?
Can you tell me what you want to do? And maybe the team can help you with that. (hint: http://www.minecolonies.com/recruitment )
Are you trying to change the mod? or you just want to install it? If you just want to install it, you can grab one of the builds from https://mods.curse.com/mc-mods/minecraft/245506-minecolonies#t1:other-downloads