Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ooooscar

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Ooooscar

  • Rank
    Tree Puncher

Recent Profile Visitors

329 profile views
  1. The "No data fixer registered" issue persists. I have tried to use DeferredRegister like what Cadiboo did in his ExampleMod, but the constructor is now private. I believe that there must be a problem with the code below. I've spent hours and hours looking for the issue, I have compared my code with the code generated from MCreator and with similar projects on Github... but I still don't have any clue. Any help will be greatly appreciated!!! @ObjectHolder(Main.MODID) @Mod.EventBusSubscriber(modid = Main.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class M
  2. Yeah, but I want to know how to do it, so I will be able to add other entities (I think there must be something wrong with my registries), and my modded snowball does hurt.
  3. Thank you vemerion, now I have added a method for registering all entity renderers, and I tried use the SpriteRenderer for my modded snowball entity. However, this error message still persists: [Render thread/ERROR] [minecraft/Util]: No data fixer registered for jadestuff:strange_snowball I need some help again... Here's my code, I'm very thankful if anyone takes a look at it. EDIT: Code was too long, deleted
  4. I deleted the getItem() method, but it still doesn't work. Here is the error message from the console: [09:23:02] [Render thread/FATAL] [minecraft/ThreadTaskExecutor]: Error executing task on Client java.lang.IllegalStateException: No renderer registered for jadestuff:strange_snowball at net.minecraft.client.renderer.entity.EntityRendererManager.validateRendererExistence(EntityRendererManager.java:197) ~[forge-1.16.2-33.0.21_mapped_snapshot_20200514-1.16.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraftforge.fml.client.registry.Ren
  5. Hi, I have some troubles with my ModSnowball Entity. The summoned entity has no texture, although its damaging, freezing and fire extinguishing effects all function properly. I've looked everywhere in my code, but I can't find the problem. Can anyone help me? Thanks in advance!! The source code is here: Link to my ModSnowballEntity.java on Github
  6. I solved the problem!!! Here's my code: public class ModSnowballEntity extends ProjectileItemEntity { private static boolean is_crit = false; // ... // Called when the ModSnowball hits a block // If it's a critical shot: Extinguish fire protected void func_230299_a_(BlockRayTraceResult result) { super.func_230299_a_(result); if (is_crit) { BlockPos pos = result.getPos(); Direction direction = result.getFace(); BlockPos pos_offset = pos.offset(direction); Block block_offset = this.world.getBlockStat
  7. As I already know some Java, that was not a bad idea, just now I have added a custom sword. At least I'm not getting any annoying error reports anymore (the reasons of which I don't understand). For reference, I started with these tutorials: 🙂 https://cadiboo.github.io/tutorials/1.15.1/forge/ (This one is the best I think) https://thebookofmodding.ml
  8. I want to add a modded Snowball entity which should extinguish fire blocks. (replace the FireBlock with AirBlock?) whenever it is inside a FireBlock. Here's my code in class ModSnowballEntity (which is not working😞) So fire blocks are transparent blocks. The class Entity has a method called onInsideBlock, maybe I should utilize that method? I know that there must be some problems with the code below (I don't think it will work even if the block is changed to Stone or something else) public class ModSnowballEntity extends ModProjectileItemEntity {
  9. No we still can't see your uploaded pictures @鸭子咯咯哒, 你上传的图片网站上还是看不到啊。 你要么去mcbbs问问。。。 老铁加油💪💪💪
  10. I'm trying to add other languages for my mod, as English is not my native language. However, I don't know how to add a localization for the description of my mod. Is it actually possible?
  11. Yes, I've got the same problem... I'm using MCreator, but the error output is basically the same.
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.