mod-dev-talk Friday 6 January 2023

36 messages4 people

  1. cymbidial

    Hola! Is this a good place to ask questions about general fabric mod development, or is tech-support the place to do it?(edited)
  2. cr24Team

    this would be the best channel, but the fabric discord is probably an even better place to ask
  3. cymbidial

    Ah, for sure. It's just that the fab discord's pretty busy, and I feel bad for talking over other people's questions ^^;
  4. cr24Team

    completely understandable it's crazy there
  5. cymbidial

    Ikr, the peeps in there go seriously wild lol
  6. cr24Team

    hmm this seems like it should work to me, but I'm admittedly not most knowledgeable
  7. cymbidial

    Ah, lemme try that out. To print, would that be ModID.LOGGER.debug("string")?(edited)
  8. cr24Team

    I usually just do System.out.println() modid loggers are probably better form lol
  9. cymbidial

    Honestly, I have no idea how to see the modid logger lol
  10. cr24Team

    weird
  11. cymbidial

    Hmmm, in that case, I could try to override neighborUpdate and put the logic for removing snow in there.
  12. cr24Team

    neighborUpdate is the method called when a block tick happens iirc. getStateForNeighborUpdate should return the state that the block turns to when updated
  13. cymbidial

    Ah, I gotcha. Then what does scheduleTick do? I always thought scheduleTick had neighborUpdate's functionality.
  14. cr24Team

    scheduleTick calls the scheduledTick() method
  15. Jack PapelTeam

    Replying tocymbidialHere's the beef! I'm not sure if what I'm doing with these iterators are entirely safe.

    Sponge does a similar thing with water. I'd recommend taking a look at how they do it
  16. cymbidial

    Replying toJack PapelSponge does a similar thing with water. I'd recommend taking a look at how they do it

    hoho, I just banged my head against the source code for a good two hours. Is there a way to define the area where neighborUpdate is called?
  17. cymbidial

    Replying toDeleted UserU end up having to search the web or figuring it out urself

    Yeah, I definitely know the feel. The fabricord's really tough for answers sadly.
  18. cymbidial

    nvm! just found out what was happening! i forgot to append the ticksRandomly() block setting to the block! i totally didn't waste 10 hours of my life!
  19. cr24Team

    lol sometimes that happens the only thing that matters is that it works