Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/14/20 in all areas

  1. Yes. No. You don't need to change the hitbox. Just subscribe to an attack event and change the way hitbox are calculated in an attack.
    1 point
  2. All of those can be accomplished others ways. There's InteractionEvents for things like "left clicking objects" and another for the player attacking and dealing damage. Pretty sure there's one regarding picking up EXP (you would then handle the effects in a Capability) and so on.
    1 point
  3. Your modid cannot contain capital letters. The modid in your mod annotation and mods.toml do not match. In the future please post code in spoiler/code tags and not attached files. Better yet, a GitHub repository is the best way to go to share your code hands down
    1 point
  4. Howdy Probably your item model doesn't have "builtin/entity" as the parent type. (see the "Item" section of https://minecraft.gamepedia.com/Model)? If that doesn't work, I'd suggest trying some breakpoints in strategic locations, eg: - inside your lambda for supplying the ItemStackTileEntityRenderer - inside the render method of vanilla ItemStackTileEntityRenderer - inside ItemRenderer::renderItem(ItemStack itemStackIn ....) However - based on your screenshots it doesn't look like you need an ISTER to render the sword. You can just use a vanilla icon (item/generated) and set the "display" parameters correctly in your item -i.e. the rotation, scaling, translation. If your icon looks similar to the sword icon, then try copying the vanilla sword item display parameters into yours. -TGG
    1 point
  5. 0 points
×
×
  • Create New...

Important Information

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