Jump to content

AreUThreateningMe

Members
  • Posts

    17
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AreUThreateningMe's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. Yes. Sorry if its a dumb question, I'm new to modding but whats wrong with that, should it be in a client proxy? Edit: Got it working, https://github.com/kregerl/Potion-Cakes/tree/master/src/main/java/com/loucaskreger/potioncakes
  2. I've been trying to change the color of one of my items however when it is in the game, it is the normal texture. I think I might be registering the items wrong, but I'm not sure where to go from here. https://github.com/kregerl/Potion-Cakes/tree/1.15.2/src/main/java/com/loucaskreger/potioncakes
  3. What do you mean the name is random? The unlocalized name shouldn't be random, how do you register your item?
  4. You're missing a s in adesserts:blocks/chocolate_cake_block in your blockstate.json
  5. Your class should extend CakeBlock instead of Block
  6. Your error message seems to be telling otherwise, what does the json for chocolate_cake_block look like?
  7. Do you have model jsons for each variant of the block? i.e chocolate_cake_block_1-6.json in asssets.modid.models.blocks
  8. Post a crash report and/or the game logs.
  9. You might have a better shot looking at 1.15.2 vanilla sources since many of the 1.16 variables aren't named yet. This is what the render method for Screen looks like in 1.15.2: public void render(int p_render_1_, int p_render_2_, float p_render_3_) { for(int i = 0; i < this.buttons.size(); ++i) { this.buttons.get(i).render(p_render_1_, p_render_2_, p_render_3_); } } I also find it useful to check out the github of a mod that has already implemented something similar to what you want and base your code on theirs. Good Luck!
  10. Face palm, I should check if its harvestable not the tooltypes..
  11. I am trying to check whether or not a block can be mined by the tool the player is currently holding. This is working fine with certain blocks like stone, sand and planks, but the method I'm using below returns false for concrete and terracotta if (slot.getToolTypes().contains(state.getHarvestTool))) { } Unless I understand this wrong, the various concrete and terracotta blocks should also return true when the player is holding a pickaxe... right? is this a bug or am I just doing this wrong?
  12. After some looking around in the config files of a modpack I've been playing, I found that craftingtweaks had just what I was looking for. https://github.com/blay09/CraftingTweaks/blob/1.15.x/src/main/java/net/blay09/mods/craftingtweaks/CraftingTweaksConfig.java#L19-L32
  13. Hello, I am working on the configuration file for my mod and am curious if it would be possible to use the forge config builder to take in a list from my mods config.toml. If someone could point me in the right direction, that'd be great. I looked into making a subclass of the ConfigValue type forge uses, but the constructor is package-private and I don't know of a way around this.
  14. Found the solution. Since im using 1.12.2 and not one of the newer versions of minecraft the book should be created in a different location (assets.modid.patchouli_books)
  15. Hello all, I've been working on trying to add a guide book to my mod, but have run into a few problems. I am using patchouli and followed the getting started process for modders but still do not get the item in-game when i test it. When I load the game there is only the other item added by my mod and the default guide book from patchouli. Im lost and not sure what to do next. I have already tried following the example books but was not able to get that to show up in-game either. Any help is appreciated.
×
×
  • Create New...

Important Information

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