Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • xalcon

xalcon

Members
 View Profile  See their activity
  • Content Count

    8
  • Joined

    December 22, 2012
  • Last visited

    January 29, 2019

Community Reputation

3 Neutral

About xalcon

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. xalcon

    [1.12] What makes this event?

    xalcon replied to WildHeart's topic in Modder Support

    This event allows you to change the looting level when an entity is killed. http://minecraft.gamepedia.com/Enchanting#Looting
    • July 2, 2017
    • 2 replies
  2. xalcon

    Gradle and the Jar-in-Jar Setup

    xalcon posted a topic in ForgeGradle

    So, a lot of people still try to get the Jar-in-Jar system in their mod working and it seems there is no documentation available. This wont be a guide (its most likely not the optimal way to do it), but it might help you to get started. Forge allows you to specify the ContainedDep manifest attribute. This attribute is a space separated list of file names (jar files) which will be extracted from your jar and then loaded into the mod-class loader (at the time of writing, those mods are not examined for coremods, so you will need to package your mod into the coremod jar. This works just fine for APIs and other libraries though! See https://github.com/MinecraftForge/MinecraftForge/pull/4081) The following gradle code will build 2 additional jars: An API jar (which could also be a coremod jar or whatever else) and the Mainmod Jar without the API code. The Mainmod jar will include the API jar, allowing for easy distribution. CPW said its just 2 lines in your build.gradle to setup jar-in-jar distribution... So it seems I'm missing a feature in forge gradle. If you have a more clean gradle script for this, please post it! // at the end of your build.gradle // Create API library zip // Warning: This jar will be reobfuscated! Its only used to package it with the universal jar task apiJar(type: Jar) { from(sourceSets.main.output) { // only include the classes from our API packages include "**/api/**" } classifier = 'obfapi' includeEmptyDirs = false } // task to create a jar containing all classes from the main sourceSet output and the api.jar // also sets up the manifest attribute 'ContainedDeps' which fml uses to extract the api jar at runtime task packedJar(type: Jar, dependsOn: 'reobfApiJar') { manifest { attributes 'ContainedDeps': "${archivesBaseName}-${version}-obfapi.jar" } from(sourceSets.main.output) { // exclude the API classes, those will be included as their own jar exclude('**/api/**') } from("${buildDir}/libs") { include("*-${version}-obfapi.jar") } classifier = 'universal' } // tell forge gradle to reobfuscate our jars reobf { apiJar { } packedJar { } }
    • July 2, 2017
    • 1 reply
      • 1
      • Thanks
  3. xalcon

    Server crashes upon player join

    xalcon replied to Ye wot's topic in Support & Bug Reports

    The crash happens due to the Hats mod. Either look for an updated version or remove it.
    • June 18, 2017
    • 2 replies
  4. xalcon

    Regarding Minecraft 1.12, And policy changes.

    xalcon replied to LexManos's topic in Site News (non-forge)

    For future reference If I understand this correctly, we would be allowed to put the coremod into its own jar and put that jar into the actual mod jar. While this might not be very useful for modders that use a coremod in multiple mods, it might be useful if its only a change for a single mod. Question I have: could you point me and others to the jar extraction mechanic FML provides? I dont intend on using a coremod at all, but just in case.
    • June 17, 2017
    • 22 replies
      • 2
      • Like
  5. xalcon xalcon changed their profile photo May 27, 2017
  6. xalcon

    Accessing the Tint Index in getPackedLightmapCoords()

    xalcon posted a topic in Suggestions

    Hello! I'm trying to render multiple layers of a block with different brightness values to achieve a "glow in the dark" effect without actually emitting any light. I was able to do this by returning a different lightmap coordinate depending on the tint index. While this works fine, it requires a fair amount of reflection, since i need to read the information from VertexLighterFlat#tint (ForgeBlockModelRenderer#lighterFlat) My suggestion would be to somehow make the tint index information available to Block#getPackedLightmapCoords(). Currently, I can think of 3 ways to do this, but there are maybe a few more pass the tint index to Block#getPackedLightmapCoords(). The information is available in VertexLighterFlat#updateLightmap so it can just be passed to IBlockState#getPackedLightmapCoords(). The issue here is, its not the only place where Block#getPackedLightmapCoords() (or IBlockState#getPackedLightmapCoords()) is called and not all of those spots have a tint index available. We could pass -1 in those cases tho. Make the tint index available via a getter method. Either from ForgeBlockModelRenderer directly or from VertexLighterFlat (this one only has a setter method atm). If we go with the latter one, we also need a getter in ForgeBlockModelRenderer to get the VertexLighterFlat instance Add new interface to get the brightness for a specific tint index, similar to IBlockColor Like I said, i currently use reflection to get the tint index, so I know it works - atleast partially, who knows how this might break. If there is a different way to achieve what I'm doing atm, tell me D:
    • May 27, 2017
  7. xalcon

    [How-To]Build multiple separate projects with Gradle

    xalcon replied to GotoLink's topic in ForgeGradle

    Thanks for your guide. I begin to understand what gradle is being used for (or atleast whats the intention ) People call this setup "Pahimar-Setup", because Pahimar (Youtube Channel) introduced some tutorials on how to setup eclipse to include each mod as a separate project. Now I'm looking for on how to teach IntelliJ to load my sub-modules as separate mods.
    • December 21, 2013
    • 24 replies
  8. xalcon

    Forge has an error.

    xalcon replied to XxGod4SlayerxX's topic in Support & Bug Reports

    Just read the log o_o" Download the 6 listed files, put them into your .minecraft/lib folder (or server/lib, depending on what you are using) and start it again
    • July 3, 2013
    • 2 replies
  • All Activity
  • Home
  • xalcon
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community