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

felinoid

Members
 View Profile  See their activity
  • Content Count

    36
  • Joined

    August 24, 2018
  • Last visited

    February 11

Community Reputation

5 Neutral

About felinoid

  • Rank
    Tree Puncher

Recent Profile Visitors

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

  1. felinoid

    Inquiry about Updating from 1.15.2 to 1.16.4

    felinoid replied to ChrisAndrw's topic in Modder Support

    Where is the src folder for the mod you are working on?
    • December 7, 2020
    • 8 replies
  2. felinoid

    [1.16] Get rid off dirt background

    felinoid replied to ChAoS_UnItY's topic in Modder Support

    What did the crash report say, and what does the code that crashes look like?
    • December 7, 2020
    • 2 replies
  3. felinoid

    [1.16.3] Getting rid of data fixer error spam

    felinoid replied to felinoid's topic in Modder Support

    Yeaahh... looks like the only way to have pretty code is to leave it be. I just wish users wouldn't assume that because it says "ERROR" it's responsible for whatever problem they're having. I'll leave it for now, but if it shows up in too many more bug reports I might try passing the builder an empty/nonsense string. Thank you Diesieben, good to have it confirmed that at least I don't need to register a data fixer.
    • December 7, 2020
    • 3 replies
  4. felinoid

    [1.16.3] Getting rid of data fixer error spam

    felinoid posted a topic in Modder Support

    I have a mod that registers entities. Like every other 1.16 mod I have seen that registers entities, it prints the error "No data fixer registered for [entity]" every time it starts up. As far as I can tell, the lack of a data fixer is not causing any actual problems except for the error message. Loading from an older Minecraft version works fine. I do change the entity's save format occasionally, but that does not align neatly with Minecraft's version numbers so I write my own code logic to handle it. Mainly I just want it to not print an error. The message is coming from net.minecraft.util.Util: @Nullable public static Type<?> attemptDataFix(TypeReference type, String choiceName) { return !SharedConstants.useDatafixers ? null : attemptDataFixInternal(type, choiceName); } @Nullable private static Type<?> attemptDataFixInternal(TypeReference typeIn, String choiceName) { Type<?> type = null; try { type = DataFixesManager.getDataFixer().getSchema(DataFixUtils.makeKey(SharedConstants.getVersion().getWorldVersion())).getChoiceType(typeIn, choiceName); } catch (IllegalArgumentException illegalargumentexception) { LOGGER.error("No data fixer registered for {}", (Object)choiceName); if (SharedConstants.developmentMode) { throw illegalargumentexception; } } return type; } which is being called from net.minecraft.entity.EntityType.Builder.build: public EntityType<T> build(String id) { if (this.serializable) { Util.attemptDataFix(TypeReferences.ENTITY_TYPE, id); } return new EntityType<>(this.factory, this.classification, this.serializable, this.summonable, this.immuneToFire, this.field_225436_f, this.field_233603_c_, this.size, this.field_233604_h_, this.field_233605_i_, velocityUpdateSupplier, trackingRangeSupplier, updateIntervalSupplier, customClientFactory); } The most straightforward approach would probably be to register my own data fixer. I'm not sure how I would go about that or if it's even possible, as I can't find documentation for com.mojang.datafixers anywhere. I see a mention of it here, which doesn't look like it got resolved. Another possibility would be to pass the wrong argument in to the build method. For instance, if I passed it "minecraft:donkey" instead of my own donkey's ID, presumably that would get any data fixers registered for the donkey. This seems super sketchy. I know I don't need the HorseSaddle or HorseSplit fixes, what I don't know is whether it might also do something unexpected that could create a bug. This doesn't seem worth it. Oddly enough, SharedConstants.useDataFixers isn't final, which means in my entity registration method I could set it to false and then back to its previous value again. But if a lot of people do that, someday someone will forget to set it back to the previous value. That could potentially cause exactly the sort of corruption issues data fixers are supposed to prevent, all while being near impossible for a user to debug. The last option I see is to pass the build method a nonsense string such as "ignore this error". This is ugly, but at least it indicates to users that they should look elsewhere to find why they crashed. I don't like any of these, nor do I like leaving it be. Anyone have opinions on which is the least bad?
    • December 7, 2020
    • 3 replies
  5. felinoid

    [1.16.1] Altering hitbox shape of mob

    felinoid replied to the_infamous_1's topic in Modder Support

    Ah sorry, for some reason I was thinking X/Y. For X/Z your workaround is a decent idea, and I don't think the eye height will help you.
    • October 7, 2020
    • 5 replies
  6. felinoid

    [1.16.1] Altering hitbox shape of mob

    felinoid replied to the_infamous_1's topic in Modder Support

    First off, can you just set the size from the EntityType? If all entities of this type are that size, that is the best way to do it. The entity type builder has a method .size(width, height) to set the hitbox size. As for the suffocation hitbox not changing, I think that is a forge bug. See https://github.com/MinecraftForge/MinecraftForge/issues/7399. If you can't set the size for the EntityType, you could use reflection to change eyeHeight yourself (it's a private value).
    • October 7, 2020
    • 5 replies
  7. felinoid started following Small tip for maintaining multiple mod versions July 19, 2020
  8. felinoid

    Small tip for maintaining multiple mod versions

    felinoid posted a topic in User Submitted Tutorials

    Suppose you have a mod for 1.15.x, which you're about to update to 1.16.x (or any other two versions, really), and after you update you intend to keep adding new features to 1.16.x while back porting them to 1.15.x. And presumably you're using git branches for the different versions, or a similar version control system. Then just after you update the mod to 1.16 but before you add anything new, merge the 1.16 branch back into the 1.15 branch and overwrite all the files with the previous 1.15 versions. That way in the future when you merge new features from 1.16, git will have at least some respect for the version differences instead of treating it as a fast forward. You'll still need to modify any new code, but at least you shouldn't have to undo all the 1.16 compatibility changes from existing code too. Maybe this should have been obvious, but if I missed it for so long others might have as well.
    • July 19, 2020
  9. felinoid

    [1.15.2] [Solved] How to archive transparent leaves?

    felinoid replied to Budschie's topic in Modder Support

    I had the same issue, see here: for how to fix it. Edit: this thread is also helpful:
    • May 27, 2020
    • 13 replies
  10. felinoid

    game crashed in te mojang letters

    felinoid replied to ruvi's topic in Support & Bug Reports

    If it's too long you can use this site: https://pastebin.com/
    • November 25, 2019
    • 22 replies
  11. felinoid

    [1.14] Freezes when calling World.getChunk() during chunk loading

    felinoid replied to felinoid's topic in Modder Support

    Ok, how do I tell when the chunk is loaded?
    • November 25, 2019
    • 5 replies
  12. felinoid

    [1.14] Freezes when calling World.getChunk() during chunk loading

    felinoid replied to felinoid's topic in Modder Support

    https://github.com/tiffanyjager/horse-colors/blob/master/src/main/java/horse_colors/HorseReplacer.java The problem still happens when replaceHorses is reduced to @SubscribeEvent public static void replaceHorses(EntityJoinWorldEvent event) { // We don't want to replace subclasses of horses if (event.getEntity().getClass() == HorseEntity.class && !event.getWorld().isRemote) { HorseEntity horse = (HorseEntity)event.getEntity(); HorseGeneticEntity newHorse = ModEntities.HORSE_GENETIC.spawn(event.getWorld(), null, null, null, new BlockPos(horse), SpawnReason.CONVERSION, false, false); } }
    • November 25, 2019
    • 5 replies
  13. felinoid

    [1.14] Freezes when calling World.getChunk() during chunk loading

    felinoid posted a topic in Modder Support

    I'm trying to update my mod to 1.14, and I'm having trouble with the part where I replace Minecraft horses with my custom horses. I subscribe to OnEntityJoinWorld events, but when I try to spawn my custom horse in response, the game never loads the chunk. If it happens in the loading screen the game freezes at 100%, or if it happens when a chunk is generated as part of exploration the chunk never loads. My event subscribed code seems to be getting stuck on World.getChunk called from within EntityType.spawn, presumably because it's getting called when the chunk isn't fully loaded yet. Is there a way around this?
    • November 25, 2019
    • 5 replies
  14. felinoid

    [Solved] [1.14] Require forge version

    felinoid replied to felinoid's topic in Modder Support

    Ok, thanks! It works now.
    • October 30, 2019
    • 3 replies
  15. felinoid

    [Solved] [1.14] Require forge version

    felinoid posted a topic in Modder Support

    My mod crashes with forge 1.14.4-28.0.105 (because of the persistant/persistent typo), so I'm trying to require forge 1.14.4-28.1.0 or above. My build.gradle file lists it in the dependencies: dependencies { minecraft 'net.minecraftforge:forge:1.14.4-28.1.0' } but when I install the earlier version, it still allows my mod to run. Do I need to specify the dependency differently? (Installing an earlier version of forge over a later one shouldn't make a difference, right?)
    • October 30, 2019
    • 3 replies
  16. felinoid

    General thank you

    felinoid posted a topic in Modder Support

    I want to say thank you to everyone here who helps with modder support. Just having you around is really encouraging, so I always know there's someone to turn to if I get myself stuck. Three times now I've solved a problem I thought I couldn't fix on my own while writing a post to ask for help, and without y'all I'd probably just have given up. So, thank you for helping, even if you didn't know you were
    • September 4, 2019
      • 4
      • Like
  • All Activity
  • Home
  • felinoid
  • Theme

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