Jump to content

A_A

Members
  • Posts

    4
  • Joined

  • Last visited

A_A's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. No, I was measuring execution time for a method in my custom block 10000 (A-B testing) times and I was too lazy to wait for Minecraft to load up for every change. Looking at Minecraft code they can do it but with forge in place, it seems register somehow gets called via code injected into block init (probably to register vanilla blocks?).
  2. So I'm trying to create an instance of Block static { Block funnyUselessBlockWithNoPurpose = new Block(BlockBehaviour.Properties.of(Material.AIR)); } I don't want to register it in block registry or use it anywhere else, only need this temporary to measure a few things. However it fails with "Registry is already frozen". Shouldn't block register when I actually call `BLOCKS.register(name, block);`?
  3. I managed to fix it by copying those files from my game machine to my dev machine. Files are copied from %AppData%/.minecraft folder to same folder in dev machine by their hash (file name is hash e.g. aaf9d9bbea70c6ae1b6326d55a6bd31835d7ad58 in aa folder). hash for those failed files are also specified in the build log, Copying local object: aa/aaf9d9bbea70c6ae1b6326d55a6bd31835d7ad58 Asset: minecraft/sounds/block/candle/ambient2.ogg Later gradle plugin will move those files to your mod folder, (I assume? since after running client those files were all gone and folders were remained)
  4. Here you go! Essentially, it hash comparision fails and even if I put the file in that folder, since gradle task still trying to download it again, it fails again. I don't care if 4 sounds are failing, but it blocks the run task.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.