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
  • PandaTobi

PandaTobi

Members
 View Profile  See their activity
  • Content Count

    9
  • Joined

    November 26, 2020
  • Last visited

    December 8, 2020

Community Reputation

0 Neutral

About PandaTobi

  • Rank
    Tree Puncher
  1. PandaTobi

    How do you make custom entities breed?

    PandaTobi replied to PandaTobi's topic in Modder Support

    Gosh, I need to look at existing mob files more! Here's the function you need to add if you wish for your mobs to breed: public boolean isBreedingItem(ItemStack stack) { return TEMPTATION_ITEMS.test(stack); } Make sure that your TEMPTATION_ITEMS variable exists, and that it is an Ingredient object.
    • December 4, 2020
    • 2 replies
  2. PandaTobi

    How do you make custom entities breed?

    PandaTobi replied to PandaTobi's topic in Modder Support

    I have also added a BreedGoal, but this also does not allow my mob to breed.
    • December 4, 2020
    • 2 replies
  3. PandaTobi

    How do you make custom entities breed?

    PandaTobi posted a topic in Modder Support

    I have added the temptation items and created a createChild function successfully, but I still do not know how to implement the breeding functionality within my animal entity class. Are there any resources that you can point me to? Much appreciated!
    • December 4, 2020
    • 2 replies
  4. PandaTobi

    Adding lore to items in 1.16

    PandaTobi replied to PandaTobi's topic in Modder Support

    @Draco18s I understand. Have a good day, and thank you for giving the time to help me! I'll just post the working code here just to help any future users that happend to stumble across this thread: @Override public void addInformation(ItemStack stack, World worldIn, List<ITextComponent> tooltip, ITooltipFlag flagIn) { super.addInformation(stack, worldIn, tooltip, flagIn); tooltip.add(ITextComponent.func_241827_a_("'Lore'em Ipsum! Ha!")); }
    • November 28, 2020
    • 4 replies
  5. PandaTobi

    Adding lore to items in 1.16

    PandaTobi replied to PandaTobi's topic in Modder Support

    @Draco18s I see what I did wrong. I was getting stuck on a part where I was trying to convert the String into a ITextComponent object, but it turns out that the inbuilt "func_241827_a_" function already did that. A bit of an odd naming scheme, but I like it! LOL.
    • November 28, 2020
    • 4 replies
  6. PandaTobi

    Adding lore to items in 1.16

    PandaTobi posted a topic in Modder Support

    When trying to define an addInformation function to add lore to my custom item, the IDE is telling me that I am not overriding a method from it's superclass. Am I doing something wrong? My function: @Override public void addInformation(ItemStack stack, PlayerEntity player, List list, boolean check) { list.add("Lorem ipsum for your troubled soul:"); }
    • November 28, 2020
    • 4 replies
  7. PandaTobi

    Give player permission to fly

    PandaTobi replied to PandaTobi's topic in Modder Support

    @Beethoven92 how would you set the flight to false once the player takes off the chestpiece that applied this? thanks so much for your help by the way!
    • November 27, 2020
    • 4 replies
  8. PandaTobi

    Give player permission to fly

    PandaTobi replied to PandaTobi's topic in Modder Support

    @Beethoven92 holy crud thank you so much! I have been searching in every nook and cranny of these forums, but I couldnt for the life of me find where that went!
    • November 27, 2020
    • 4 replies
  9. PandaTobi PandaTobi joined the community November 26, 2020
  10. PandaTobi

    Give player permission to fly

    PandaTobi posted a topic in Modder Support

    Is there a way to do the equivalent of `player.capabilities.allowFlying = true;` in the 1.16 version of Forge?
    • November 26, 2020
    • 4 replies
  • All Activity
  • Home
  • PandaTobi
  • Theme

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