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

Draco18s

Members
 View Profile  See their activity
  • Content Count

    15923
  • Joined

    March 14, 2013
  • Last visited

    8 hours ago
  • Days Won

    143

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events

Posts posted by Draco18s

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 623  
  1. Cannot interact with MinecraftForge repositories

    in Modder Support

    Posted 11 hours ago


    39 minutes ago, Extegral said:

    Well, then I have no idea either. I didn't even do much with Forge repos recently, my last comment was on ForgeGradle a couple months ago, and there wasn't anything offensive there or something.

    Yeah I looked at your comments (there were all of about five). Nothing stood out.

    Start with the mods here, I guess.

  2. Cannot interact with MinecraftForge repositories

    in Modder Support

    Posted 12 hours ago


    In poking around my guess is that you were added as a blocked user.

     

    Why? Don't know.

  3. GUI Documentation

    in Modder Support

    Posted 16 hours ago


    GUIs aren't that difficult. There's dozens of tutorials for them and they haven't really changed all that much in ten years.

  4. GUI Button has weird image

    in Modder Support

    Posted Saturday at 06:07 PM · Edited Saturday at 06:08 PM by Draco18s


    Yeah, because you're passing in a height value that's 2.5 times taller than the vanilla Button renderer expects. It expects that all UI buttons are only 20 pixels tall and the sprite sheet reflects that. So what you're seeing is other areas of the UI sprite sheet.

     

    (Is the vanilla code broken? Yes. Does Mojang care? No)

  5. [1.16.4] setBlockState with out send update event.

    in Modder Support

    Posted Saturday at 05:18 PM


    Still don't know why you added the 1 if you didn't want block updates.

  6. [SOLVED] [1.16.4] Change Block Hitbox/Outline

    in Modder Support

    Posted Saturday at 12:40 AM


    1 hour ago, Lellian said:

    () -> new Block(AbstractBlock.Properties

    Cough.

    1 hour ago, Lellian said:

    public class ExampleBlock extends Block {

     

  7. 1.16.4 Fishing Loot Table

    in Modder Support

    Posted Thursday at 04:30 PM


    Really high level nonsense, all modifiers are invoked any time any loot is dropped by anything.

    The LootConditions result in most of those modifiers effects being skipped (because the conditions were false, and that includes things like "a zombie died? Well that wasn't iron ore..."), but they're still checked.
     

    The point was to create a system that replaced HarvestDropsEvent in a way that was as data driven as possible and would layer properly so that multiple mods could modify the same loot table without conflict (eg. adding a new crop seed to tall grass).

     

    As such its complicated to create, but it is more better than any other approach for all the reasons that those other approaches are broken.

  8. [1.16.4] Checking an ItemEntity is in water.

    in Modder Support

    Posted Wednesday at 03:24 PM


    17 minutes ago, AzizD said:

    This is not the issue.

    I didn't say it was. I was asking why you did it because its stupid.

  9. [1.16.4] Enchant a BookItem with random Enchantment

    in Modder Support

    Posted Wednesday at 02:14 PM


    Maybe use a rng.Next instead of 0?

  10. [1.16.4] Checking an ItemEntity is in water.

    in Modder Support

    Posted Wednesday at 02:13 PM


    3 hours ago, AzizD said:

    ItemEntity entity = new ItemEntity(getEntityWorld(),this.getPosX(),this.getPosY(),this.getPosZ());

    Why is this a class property and not a local variable?

  11. I'm getting the oddest error

    in Modder Support

    Posted January 13


    Now you have a thousand "can't load model" errors. Mostly FileNotFoundExceptions.

  12. I'm getting the oddest error

    in Modder Support

    Posted January 13


    I said folder, not file. I don't care about your lang.json, I care about a folder named Lang.

  13. GUI Documentation

    in Modder Support

    Posted January 13


    Apparently its been like that for 4 years.

    https://github.com/MinecraftForge/Documentation/issues/74

    • Haha 1
  14. I'm getting the oddest error

    in Modder Support

    Posted January 13 · Edited January 13 by Draco18s


    sounds.json is just a file that Minecraft was looking for at a given location. It doesn't make sense that it was doing so, but that's what gets reported, just because of how Minecraft is poking around the assets directories.

    Do you have a folder named Lang? (even if empty)

    Is your modID Lang?

  15. changing block used when creating structure nbt

    in Modder Support

    Posted January 11


    "If I never tell the structure about this property, will it know about it?"

    Think about that for a minute.

     

    No.

    In fact, the nbt file may just straight up fail because the serialized BlockState doesn't match the new data.

    • Like 1
  16. [1.16.4] check if a player has an item

    in Modder Support

    Posted January 11


    Loop over every stack in the player's inventory until you find a match.

    • Thanks 1
  17. [1.16.4] How to add lore to ItemStack

    in Modder Support

    Posted January 10 · Edited January 10 by Draco18s


    25 minutes ago, DoctorC said:

    I want to add it on the Itemstack, not the item (I've tried Item.addInformation), but I'll look into RenderTooltipEvent.

    Thanks!

    ItemStacks are Stacks of an Item.

    addInformation in the ItemClass is passed the relevant ItemStack for you to make any determinations based on other data. But only works for your own items.

    RenderTooltipEvent would be if you need to add information to an Item you don't control (and gets the same parameters addInformation does).

  18. [1.16.4] Textures Not Showing Up On Blocks When Set

    in Modder Support

    Posted January 10


    Hm. Not seeing anything obvious, post the log too.

  19. Failure message: Missing License Information in file Mod File

    in Modder Support

    Posted January 10


    What part of "you can't use 1.15 mods on 1.16" was not clear?

  20. [1.16.4] Textures Not Showing Up On Blocks When Set

    in Modder Support

    Posted January 10


    Show the model json, as that's where textures are specified.

  21. Creating a custom smelting recipe

    in Modder Support

    Posted January 10


    2 hours ago, applegod said:

    Alright thanks, as I'm sure you can see I'm new to this forum and nothing about this subject was written in the rules.

    It's how forums work. Its not something special about this board.

     

    2 hours ago, applegod said:

    Just one more question tho, how would I make it so that my custom smelting recipe only works in my custom furnace block? I understand that I could create a new crafting type (like smelting, blasting, shaped crafting etc...) but then I couldn't use vanilla smelting recipes in that custom furnace unless I manually added every single one of them to the new type which I don't want to do. Is there some condition argument about which smelting is happening that I could just add to my json file?

    You would need a new crafting type, but your custom furnace could load both the vanilla recipes and your custom one.

  22. Creating a custom smelting recipe

    in Modder Support

    Posted January 9 · Edited January 9 by Draco18s


    17 minutes ago, applegod said:

    How do I mark this thread solved?

    Welcome to a "forum" where there are not questions and answers, but merely a discussion. This is not Stack Exchange.
    There is no such thing as "marking a thread solved" beyond changing the thread title with "edit post" to manually type "solved" yourself.

    But that is an optional and subjective act.

    You could just as easily type "Resolved" or "Found the Answer" or "Answered."

  23. Creating a custom smelting recipe

    in Modder Support

    Posted January 9


    2 minutes ago, applegod said:

    but what is the json template for creating smelting/blasting recipes?

    Browse the game's files for them?
    They're in client.jar like the crafting table recipes.

     

  24. Creating a custom tile entity with a container and binding it to already registered custom block

    in Modder Support

    Posted January 9


    2 hours ago, applegod said:

    Yeah but for that I need a custom tile entity class and a custom tile entity type and register all that don't I?

    Yes. Which is where you store the inventory. You can't store it anywhere else...

     

    2 hours ago, applegod said:

    Could you provide me with any sort of a code example for this?

    I understand that there are these functions that create the tile entities etc. but I just don't get how they are generally connected whatsoever.

    Vanilla code is a pretty good resource. Just ignore anything about IInventory and use the Forge supplied Capabilities system instead.

  25. Creating a custom tile entity with a container and binding it to already registered custom block

    in Modder Support

    Posted January 8


    Tile enntities haven't changed significantly in several versions. 

     

    Override hasTileEntity and createTileEntity in your block class. 

  • Prev
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • Page 1 of 623  
  • All Activity
  • Home
  • Draco18s
  • Theme

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