Jump to content

Cyanideee

Members
  • Posts

    10
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

1128 profile views

Cyanideee's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Sorry I forgot to push the updated version but I entered that as suggested yesterday, as for the render, I'll defo look into it, thanks
  2. I can confirm that the entity does exist in game, it appears in the summon menu but upon running the command, nothing happens. I've also done what you suggest (Overriding createSpawnPacket ext.)
  3. The log doesn't mention any errors at all. I don't think it works because I'm about 70% sure I registered the renderer correctly but if I'm wrong that would be embarrassing
  4. Good Morning, After messing about with AbstractArrowEntity and all it's associated delights I decided to turn to ThrowableEntity's "shoot" function the laser gun in my mod. I've fixed all errors raised in the crash report and the result is that the gun does not fire at all, in fact the entity cannot even be summoned, I've been staring at this for 2 day's now with no luck and I feel like I'm missing something really obvious, if anyone spots anything wrong with com.kybercraft.nrm.entities.LaserBoltEntity, please let me know https://github.com/CyDoesHybrid/NewRepublicModAlpha Thanks Cyanideee
  5. You absolute life saver, I knew it was a silly mistake
  6. Good Morning, After creating a custom ammo type for my mod, it appears that the entity renderer has not been registered. I get this error upon running the game (however it loads up perfectly fine, the bow just doesn't fire): I know that this is definitely sleep deprivation getting the better of me but if one of you lovely people could point out my mistake to me, it would be greatly appreciated https://github.com/CyDoesHybrid/NewRepublicModAlpha Thank you.
  7. Update: I managed to fix the issue by looking into the things you suggested. While it may have taken a few hours, as you said, it will greatly help me in the long run
  8. I mean if you're done monologuing... I wasn't exactly asking to stamp on your first born, just for a little help. I'll look into what you've suggested, thanks for the help?
  9. Extending LeavesBlock in which file? How would I tell the game that. And in answer to the latter, I'm new to modding so I didn't know that.
  10. I am programming a leaf block into my mod. I added it as normal but upon opening the game all transparent sections are shown as black. I have read up on this and tried many different solutions and nothing has worked here is my code: Registry Handler: public static void init() { ITEMS.register(FMLJavaModLoadingContext.get().getModEventBus()); BLOCKS.register(FMLJavaModLoadingContext.get().getModEventBus()); } // BLOCKS public static final RegistryObject<Block> SILVER_LEAVES = BLOCKS.register("silver_leaves", SilverLeaves::new); // BLOCK ITEM public static final RegistryObject<Item> SILVER_LEAVES_ITEM = ITEMS.register("silver_leaves", () -> new BlockItemBase(SILVER_LEAVES.get())); private static Block register(String key, Block blockIn) { return Registry.register(Registry.BLOCK, key, blockIn); } } SilverLeaves.java package com.Cyanideee.UDWM.blocks; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraftforge.common.ToolType; import net.minecraftforge.common.extensions.IForgeBlockState; public class SilverLeaves extends Block { public SilverLeaves() { super(Properties.create(Material.LEAVES) .hardnessAndResistance(0.2f, 0.2f) .sound(SoundType.PLANT) .notSolid() ); } } { "parent": "block/leaves", "textures": { "all": "udwm:blocks/silver_leaves" } }
×
×
  • Create New...

Important Information

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