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
  • That_Martin_Guy

That_Martin_Guy

Members
 View Profile  See their activity
  • Content Count

    179
  • Joined

    March 3, 2017
  • Last visited

    August 25, 2020
  • Days Won

    1

That_Martin_Guy last won the day on August 20 2018

That_Martin_Guy had the most liked content!

Community Reputation

7 Neutral

1 Follower

  • cowlegs

About That_Martin_Guy

  • Rank
    Creeper Killer

Recent Profile Visitors

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

  1. That_Martin_Guy

    [1.15] Want to convert blocks from 1.12 world to 1.15

    That_Martin_Guy posted a topic in Modder Support

    I am currently rewriting a mod previously written for 1.12 in version 1.15. The mod encouraged giant builds, and I'd really like for the mod to be able to be converted from the old version to the new one. I went onto the discord server and asked how to achieve this and concluded that I was going to use an event to tell the game which old registry name should be matched with which new block (for instance). I therefore tried subscribing to RegistryEvent.MissingMappings in the following way: @EventBusSubscriber(modid = SCPLockdown.MOD_ID, bus = EventBusSubscriber.Bus.FORGE) public class CommonForgeEvents { @SubscribeEvent public static void fixBlockMappings(RegistryEvent.MissingMappings<Block> event) { System.out.println("Start of blockmappings"); for(RegistryEvent.MissingMappings.Mapping<Block> blockMapping : event.getMappings()) { System.out.println(blockMapping.id); } } } This method does not print at all when I try and convert an old 1.12 world in the 1.15 version, even if I used the MOD bus instead of the FORGE bus. I therefore came to the conclusion that it doesn't fire at all, and I cannot test with it right now. I also tried matching the registry name from the old version with the new one. This did not work - all of the mods blocks were removed upon convertion, even if the names matched.
    • August 2, 2020
    • 1 reply
  2. That_Martin_Guy

    [1.14.4] How could I create a block that the player can sit on?

    That_Martin_Guy replied to FlashHUN's topic in Modder Support

    Spawn an entity when the block is right clicked and make the player ride it. Once dismounted, the entity should despawn.
    • October 12, 2019
  3. That_Martin_Guy

    [1.12.2] Trying to add cofh as a dependency removes other libraries

    That_Martin_Guy replied to That_Martin_Guy's topic in ForgeGradle

    I fixed it. Turns out cofh also needs the JEI repository to work. Not having that completely broke the project like I stated earlier... Working code: buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "0.0.1" group = "thatmartinguy.brightenup" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "brightenup" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } minecraft { version = "1.12.2-14.23.4.2705" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20171003" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } repositories { maven { name = "Covers (COFH)" url = "http://maven.covers1624.net/" } maven { name = "JEI Maven" url = "http://dvs1.progwml6.com/files/maven" } } dependencies { compile 'cofh:CoFHCore:1.12.2-4.5.0.+:deobf' compile 'cofh:ThermalFoundation:1.12.2-2.5.+:deobf' } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } }
    • September 19, 2018
    • 2 replies
  4. That_Martin_Guy

    [1.12.2] Trying to add cofh as a dependency removes other libraries

    That_Martin_Guy posted a topic in ForgeGradle

    I'm creating a mod that requires cofh and possibly also thermal foundation to work, but whenever I try and add both of these as a dependency all other libraries get removed, resulting in this happening, which makes modding impossible. These are all the libraries I have. When I remove the dependencies declaration forge is added as a library again. build.gradle
    • September 19, 2018
    • 2 replies
  5. That_Martin_Guy

    [SOLVED] [1.12.2] Cannot transport myself to my dimension

    That_Martin_Guy replied to That_Martin_Guy's topic in Modder Support

    I've heard on the forge discord that the ITeleporter interface is brand new and isn't implemented in a good way. Is this true or is there another problem?
    • August 22, 2018
    • 1 reply
  6. That_Martin_Guy

    [SOLVED] [1.12.2] Cannot transport myself to my dimension

    That_Martin_Guy posted a topic in Modder Support

    I am creating a dimension. It's simple for now, only sporting a single biome, but it will be expanded on later. For now, though, I cannot actually enter my dimension. I register my dimension here, and the world provider is here. To transfer myself to the dimension I use ItemTeleporterTest. I cannot enter the dimension, though. When I right click with the item just reloads the overworld. Using the forge setdim command does the same thing the first time, but after that it tells me it's already in that dimension. What's the problem here? EDIT: It seems that setting the biome provider in the constructor was incorrect, and so I moved it to init, which made it work.
    • August 21, 2018
    • 1 reply
  7. That_Martin_Guy

    [1.12.2] Cannot start daemon process

    That_Martin_Guy posted a topic in ForgeGradle

    My friend is trying to setup a workspace for forge, but he gets the following error every time he runs setupDecompWorkspace; FAILURE: Build failed with an exception. * What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap According to task manager he has more than 3G (almost 4G) of RAM available, which should be enough according to the gradle properties file; # Sets default memory used for gradle commands. Can be overridden by user or command line properties. # This is required to provide enough memory for the Minecraft decompilation process. org.gradle.jvmargs=-Xmx3G Full stacktrace
    • August 1, 2018
    • 1 reply
  8. That_Martin_Guy

    How can I add Tooltips to my mod(1.12.2)

    That_Martin_Guy replied to Mineco1006's topic in Modder Support

    Override the items addInformation method in the class of your item and add the tooltips you want in the string list that gets passed in as an argument.
    • April 4, 2018
    • 1 reply
      • 1
      • Thanks
  9. cowlegs started following That_Martin_Guy March 25, 2018
  10. That_Martin_Guy

    Looking for help with assigning player data to the player entity!

    That_Martin_Guy replied to cowlegs's topic in Modder Support

    I can't really tell completely, but it looks like you're calling that outside a method, which you can't do. If it is inside of a method, post your code instead of showing the error.
    • March 25, 2018
    • 4 replies
  11. That_Martin_Guy

    Looking for help with assigning player data to the player entity!

    That_Martin_Guy replied to cowlegs's topic in Modder Support

    Take a look at capabilities. Create one that stores a string, and set the string when the player joins.
    • March 23, 2018
    • 4 replies
  12. That_Martin_Guy

    Minecraft crashes when I try and launch it

    That_Martin_Guy posted a topic in Modder Support

    I have a git project me and one other person is working on. I had to reinstall my operating system because of a bug, but now, after just having installed the very same linux distribution as I had before minecraft crashes with this: https://pastebin.com/ZS4Mv0Gf I doubt it's directly related to the project, as the other person can compile and run it just fine. I'm suspecting a driver issue, although that should be automatically detected by my distro (Manjaro XFCE edition with 4.14.27-1-MANJARO kernel). Any ideas?
    • March 18, 2018
    • 1 reply
  13. That_Martin_Guy

    Minecraft won't open after having recently closed it

    That_Martin_Guy replied to That_Martin_Guy's topic in Modder Support

    Do you know of any way to fix it? It's not really something gamebreaking but if I'm changing a single value to really make it detailed it's quite annoying to have to wait ~30 seconds even though I changed a single number...
    • March 15, 2018
    • 6 replies
  14. That_Martin_Guy

    Minecraft won't open after having recently closed it

    That_Martin_Guy replied to That_Martin_Guy's topic in Modder Support

    I am experiencing this in more than one minecraft forge project, any clue as to why this is happening?
    • March 15, 2018
    • 6 replies
  15. That_Martin_Guy

    How much will modding change with 1.13?

    That_Martin_Guy replied to That_Martin_Guy's topic in General Discussion

    I have no doubt in my mind that things will change. I also don't doubt that it is for a good reason they (or you as a forge dev) make the changes. I simply would like to know the scale of it, so I can know if minecraft gets a mountain of changes like in 1.8 or not.
    • March 13, 2018
    • 23 replies
      • 1
      • Like
  16. That_Martin_Guy

    [1.12.2] Hostile mob can't attack, only pushes aggressively

    That_Martin_Guy posted a topic in Modder Support

    I am creating a simple enemy that attacks the player, but I cannot make him actually deal damage to the player. All he does is run towards the player and make contact with him. No damage is dealt. Code: public EntitySpecGhost(World worldIn) { super(worldIn); this.setSize(1, 2.4f); } @Override protected void initEntityAI() { tasks.addTask(0, new EntityAISwimming(this)); tasks.addTask(1, new EntityAIAttackMelee(this, 2, true)); tasks.addTask(2, new EntityAILookIdle(this)); tasks.addTask(3, new EntityAIWatchClosest(this, EntityPlayer.class, 100)); tasks.addTask(4, new EntityAIWander(this, 1)); targetTasks.addTask(0, new EntityAIHurtByTarget(this, true)); } @Override protected void applyEntityAttributes() { super.applyEntityAttributes(); getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(15); } @Nullable @Override protected SoundEvent getHurtSound(DamageSource damageSourceIn) { return null; } @Nullable @Override protected SoundEvent getDeathSound() { return null; } @Override protected void playStepSound(BlockPos pos, Block blockIn) { }
    • March 11, 2018
    • 1 reply
  • All Activity
  • Home
  • That_Martin_Guy
  • Theme

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