
hohserg
Members-
Content Count
39 -
Joined
-
Last visited
Community Reputation
3 NeutralAbout hohserg
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I set up a publication to maven, but using `fg.deobf` warped dependency version in pom-file. How to fix? My build.gradle: https://github.com/ElegantNetworking/ElegantNetworking_1.15/blob/master/build.gradle Problem in pom: <dependency> <groupId>codechicken</groupId> <artifactId>CodeChickenLib</artifactId> <version>1.15.2-3.3.4.402_mapped_snapshot_20200514-1.15.1</version> <classifier>universal</classifier> <scope>compile</scope> </dependency> `1.15.2-3.3.4.402_mapped_snapshot_20200514-1.15.1` is not correct version `1.15.2-3.3.4.402` is correct version
-
I set up a publication to maven, but using `fg.deobf` warped dependency version in pom-file. How to fix? My build.gradle: https://github.com/ElegantNetworking/ElegantNetworking_1.14/blob/master/build.gradle Problem in pom: <dependencies> <dependency> <groupId>codechicken</groupId> <artifactId>CodeChickenLib</artifactId> <version>1.14.4-3.2.8.374_mapped_snapshot_20190719-1.14.3</version> <classifier>universal</classifier> <scope>compile</scope> </dependency> </dependencies> `1.14.4-3.2.8.374_mapped_snapshot_20190719-1.14.3` is not correct. `1.14.4-3.2.8.374` is correct
-
I found similar question: But it unsolved
-
I added follow code to my build script for replace ${version} placeholder in my toml by gradle project version processResources { // This will ensure that this task is redone when the versions change. inputs.property 'version', project.version // Replace stuff in mods.toml, nothing else from(sourceSets.main.resources.srcDirs) { include 'META-INF/mods.toml' // Replace version expand 'version':project.version } // Copy everything else except the mods.toml from(sourceSets.main.resources.srcDirs) { exclude 'META-INF/mods.toml' } } On build it crashes with * What went wrong: Execution failed for task ':ElegantNetworking_1.16:processResources'. > Could not copy file 'C:\Users\hohserg\Documents\GitHub\ElegantNetworking1\ElegantNetworking_1.16\src\main\resources\META-INF\mods.toml' to 'C:\Users\hohserg\Documents\GitHub\ElegantNetworking1\ElegantNetworking_1.16\build\resources\main\META-INF\mods.toml'. How to insert version to toml by gradle?
-
Maybe, your check perform on client? And tile on client is not synchronized with server. Try to open chest for sync.
-
[1.16] syncronising itemstack capabilities for any item
hohserg replied to Tavi007's topic in Modder Support
Doesn't that work such? -
Something like that: public static CompoundNBT getNbtOfTile(TileEntity tile) { CompoundNBT nbt = new CompoundNBT(); tile.write(nbt); return nbt; }
-
Such item exists in ActuallyAditions: https://github.com/Ellpeck/ActuallyAdditions/blob/1.12.2/src/main/java/de/ellpeck/actuallyadditions/mod/items/ItemCrafterOnAStick.java#L32
-
I'm sorry for necroposting... But how to add some obfuscated mod to 1.14+ workspace? CodeChickenCore ceased releasing in 1.10 because Forge(or ForgeGradle or anything else) became able to work with obfucated mods out of the box. But it ceased work in 1.14. Any ideas?
-
hohserg started following How to get list of filenames in directory in resources
-
I try answer from stackoverflow: https://stackoverflow.com/questions/3923129/get-a-list-of-resources-from-classpath-directory And it work correctly when I run game from my IDE(Intellij Idea). But when I build mod, put jar in /mods/ and run Minecraft from launcher, it method give empty filelist. Hovewer, content of files in folder are load fine. What is true way to get list of files in directory in resources? Thx in advance!
-
I try to assume more clearer. Liahim want to set custom implementation of baked model for some item. This item dont have base json model. Missing of json model is desirable behavior. And he ask: how to remove warnings from log?
-
I recently noticed that files.minecraftforge.net are uses http and some concerned about this: downloading files via http is not safe, because content can be replaced in the middle of the path from the server to the client Now I noticed that site are uses https and all fine: https://files.minecraftforge.net/ But first link in google search with http! Maybe you do not tune webserver correctly? Also in a EAQ uses http links: Plz, fix it. Thx
-
Did anyone found how to port IWorldGenerator to Feature? I still wander in the dark. Help plz
-
@Womas what's version are you use?
-
Also actual example for publiched version is https://github.com/MinecraftForge/Scorge/tree/3e870dc5c1d4da88cd781a6f329878208023d0a8/example