Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Sythiex

Sythiex

Forge Modder
 View Profile  See their activity
  • Content Count

    8
  • Joined

    June 9, 2013
  • Last visited

    July 1, 2019

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Everything posted by Sythiex

  1. Sythiex

    [1.14.3] Replacement for changePlayerDimension()?

    Sythiex posted a topic in Modder Support

    In 1.13 I was using changePlayerDimension(EntityPlayerMP player, DimensionType dimensionIn, net.minecraftforge.common.util.ITeleporter teleporter) in PlayerList to use a custom teleporter. Is there a similar function in 1.14?
    • June 30, 2019
  2. Sythiex

    [1.7.10] onPlayerStoppedUsing not running

    Sythiex replied to Sythiex's topic in Modder Support

    "working" does not get printed
    • February 8, 2015
    • 9 replies
  3. Sythiex

    [1.7.10] onPlayerStoppedUsing not running

    Sythiex replied to Sythiex's topic in Modder Support

    I have tried putting @Override on just about everything, but it neither fixes the issue nor breaks my code, so I left them out. And I did read through ItemBow, but I didn't see anything I was missing.
    • February 8, 2015
    • 9 replies
  4. Sythiex

    [1.7.10] onPlayerStoppedUsing not running

    Sythiex replied to Sythiex's topic in Modder Support

    I tried that, but I didn't notice any changes so I took it back out. Thanks anyway
    • February 7, 2015
    • 9 replies
  5. Sythiex

    [1.7.10] onPlayerStoppedUsing not running

    Sythiex posted a topic in Modder Support

    I have an item with NBT data that I want to be reset to 0 when the player releases the right mouse button, but I can't figure out why onPlayerStoppedUsing() isn't being called. I'm probably overlooking something simple, here's the code: public void onPlayerStoppedUsing(ItemStack itemStack, World world, EntityPlayer player, int ticks) { System.out.println("working"); itemStack.stackTagCompound.setInteger("castTime", 0); } public ItemStack onItemRightClick(ItemStack itemStack, World world, EntityPlayer player) { if(!world.isRemote) { ChunkCoordinates coords = player.getBedLocation(player.dimension); if(coords != null) { if(itemStack.stackTagCompound.getInteger("cooldown") == 0) { player.setItemInUse(itemStack, getMaxItemUseDuration(itemStack)); if(itemStack.stackTagCompound.getInteger("castTime") >= maxCastTime) { player.setPositionAndUpdate(coords.posX + .5, coords.posY + 1, coords.posZ + .5); itemStack.stackTagCompound.setInteger("cooldown", maxCooldown); itemStack.stackTagCompound.setInteger("castTime", 0); } else { int timeCast = itemStack.stackTagCompound.getInteger("castTime") + 1; itemStack.stackTagCompound.setInteger("castTime", timeCast); } } return itemStack; } else { player.addChatMessage(new ChatComponentTranslation("msg.hearthstoneFailed.txt")); return itemStack; } } else return itemStack; } public int getMaxItemUseDuration(ItemStack itemStack) { return 100; }
    • February 6, 2015
    • 9 replies
  6. Sythiex

    Nether Fortress Custom Component

    Sythiex replied to Sythiex's topic in Modder Support

    Ok, so I got the event check working, but how exactly do I add the new component? Sorry for asking for details, I'm a complete forge noob.
    • January 21, 2014
    • 4 replies
  7. Sythiex

    Nether Fortress Custom Component

    Sythiex replied to Sythiex's topic in Modder Support

    How exactly should I do this? I haven't really done anything with events before.
    • January 14, 2014
    • 4 replies
  8. Sythiex

    Nether Fortress Custom Component

    Sythiex posted a topic in Modder Support

    What is the easiest way to add a new component to the nether fortress generator? Thanks in advance.
    • December 4, 2013
    • 4 replies
  • All Activity
  • Home
  • Sythiex
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community