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
  • Choonster
The update for 1.13 is being worked on - please be patient. (Updated 02/14/19)

Choonster

Forge Modder
 View Profile  See their activity
  • Content count

    4973
  • Joined

    July 19, 2015
  • Last visited

    5 hours ago
  • Days Won

    70

 Content Type 

  • All Activity

Profiles

  • Status Updates
  • Status Replies

Forums

  • Topics
  • Posts

Calendar

  • Events
  • Event Comments

Everything posted by Choonster

  • Prev
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • Next
  • Page 7 of 197  
  1. Choonster

    1.12.2 Saving Data

    Choonster replied to Euan's topic in Modder Support

    You'll want to use the Capability system for this. If the levels are a property of the player, attach the capability to the player. If they're a property of the tool, attach the capability to the item.
    • February 18, 2018
    • 7 replies
  2. Choonster

    1.12.2 Saving Data

    Choonster replied to Euan's topic in Modder Support

    That tells us almost nothing. What purpose does this data serve? What is it associated with? Where is it read/modified from?
    • February 18, 2018
    • 7 replies
  3. Choonster

    [1.12.1] How to get variants count

    Choonster replied to MineDen's topic in Modder Support

    Use Random#nextInt(int) to generate a random integer between 0 (inclusive) and the argument (exclusive) instead of the multiplication, subtraction and rounding you're doing now.
    • February 18, 2018
    • 22 replies
  4. Choonster

    [1.12.1] How to get variants count

    Choonster replied to MineDen's topic in Modder Support

    It adds the items to the list that you pass as an argument.
    • February 18, 2018
    • 22 replies
  5. Choonster

    Player Clicking events?

    Choonster replied to Euan's topic in Modder Support

    If an event exists, it can be subscribed to. Those three methods are only called when a player is actively using an item (e.g. drawing a bow, eating food, blocking with a shield) and only for the item that they're using.
    • February 18, 2018
    • 5 replies
      • 1
      • Like
  6. Choonster

    Player Clicking events?

    Choonster replied to Euan's topic in Modder Support

    The sub-events of PlayerInteractEvent are fired when the player left or right clicks in various ways.
    • February 18, 2018
    • 5 replies
      • 1
      • Like
  7. Choonster

    EntityPlayer#isAirBorne always as false?

    Choonster replied to Insane96MCP's topic in Modder Support

    Mojang obfuscates the Minecraft code as part of the build process, so everything has a name like a or cc. These names change with each Minecraft version. The MCP team is responsible for mapping these so-called Notch names to SRG names like func_0001_a or field_0002_b that remain stable between Minecraft versions. The MCP team and the community then map these SRG names to deobfuscated MCP names like doFoo or bar. It can be very difficult to understand what code is doing when nothing has a proper name and functionality can change between versions, so sometimes methods, fields and parameters end up with misleading names. If you have a better name for a method, field or parameter, you can open an issue on the MCPBot issue tracker.
    • February 18, 2018
    • 14 replies
  8. Choonster

    Forge Crashing on Startup

    Choonster replied to jj999124's topic in Support & Bug Reports

    You're running 1.12.2, but you have a bunch of 1.7.10 mods installed; which won't work. Mods (especially coremods) only work for the Minecraft version they were built for. You should use a separate game directory for each Minecraft version so each version has its own mods, config files, etc.
    • February 18, 2018
    • 3 replies
  9. Choonster

    Creating blockstate from string and meta

    Choonster replied to Versepelles's topic in Modder Support

    Minecraft uses StateMapperBase#getPropertyString to build the property strings uses as variants in blockstates files, but this is client-only. You can take a look at NBTUtil.readBlockState and NBTUtil.writeBlockState to see how Minecraft reads blockstates from and writes them to NBT; you could apply similar logic to generate/parse a state string in a config file. Edit: There's also CommandBase.convertArgToBlockState, used by commands to parse blockstates from strings. This is probably exactly what you want.
    • February 17, 2018
    • 11 replies
      • 1
      • Like
  10. Choonster

    [1.12.2] Get texture from texture map

    Choonster replied to That_Martin_Guy's topic in Modder Support

    You do need to set the values at some point. Probably when the multiblock has been formed.
    • February 17, 2018
    • 5 replies
  11. Choonster

    Custom Flower - Texture only shows up for the item but not the block

    Choonster replied to Korlimann's topic in Modder Support

    Because your Block extends BlockFlower and overrides BlockFlower#getBlockType to return BlockFlower.EnumFlowerColor.YELLOW, it has a single property called type with a single value called dandelion. Your blockstates file doesn't specify the type=dandelion variant, so the block renders as the missing model. The normal variant is only used for blocks with no properties. You could specify the type=dandelion variant to fix this, but I think it would be better not to extend BlockFlower at all since it's only designed to work with the Vanilla BlockFlower.EnumFlowerType values.
    • February 17, 2018
    • 9 replies
  12. Choonster

    [1.12.2] Get texture from texture map

    Choonster replied to That_Martin_Guy's topic in Modder Support

    If you use three separate properties for the coordinates, you'll need to use fully-specified variants in the blockstates file; like in the standard Vanilla format (e.g. "x=0,y=0,z=0": { ... }). If you use a single property, you can use Forge-style variants (e.g."position": { "0": { ... }, "1": { ... }, ... }). Each { ... } represents a single variant, where you can set the model, texture, rotation, etc. I don't know what you mean by this. Block#getActualState just has to read the values from the TileEntity and return an IBlockState with the appropriate property values set, it shouldn't be storing anything in the TileEntity.
    • February 17, 2018
    • 5 replies
      • 1
      • Like
  13. Choonster

    Forge for 1.12 fails to display glass panes in GUI with Lithos:Core

    Choonster replied to eleazzaar's topic in Support & Bug Reports

    The PR has been merged, so this should be fixed in Forge 1.12.2-14.23.2.2618.
    • February 17, 2018
    • 4 replies
  14. Choonster

    Forge Crashing on Startup

    Choonster replied to jj999124's topic in Support & Bug Reports

    The installer doesn't download libraries if they're already present or not required on the client/server (depending on which one you're installing). There are no errors in that log, everything appears to have worked correctly. If Forge is crashing, post the FML log (logs/fml-client-latest.log in the game directory) in a spoiler (the eye icon in the post editor).
    • February 17, 2018
    • 3 replies
  15. Choonster

    Forge Not Downloading Properly

    Choonster replied to ShadowSlayer_'s topic in Support & Bug Reports

    The installer doesn't download libraries if they're already present. There are no errors in that log, everything appears to have worked correctly. What's your actual issue?
    • February 17, 2018
    • 1 reply
  16. Choonster

    [1.12.2] Get texture from texture map

    Choonster replied to That_Martin_Guy's topic in Modder Support

    You can have 27 (or more) states in a single Block if you store them somewhere other than the metadata, just override Block#getActualState to return the state based on information stored in a TileEntity or derived from the world (e.g. how many blocks are adjacent to this one and where they are in relation to it). You can tell each element of a model which part of a texture to render with the "uv" property (see the wiki for more details), but this would require making 27 individual models with different UV coordinates. If all the blocks are the same shape (or some of them are), you can make a single model and specify a different texture file for each state using Forge's blockstates format. You could probably mess around with dynamically-generated models or textures, but I think this is the simplest way to do it.
    • February 17, 2018
    • 5 replies
      • 1
      • Like
  17. Choonster

    Forge for 1.12 fails to display glass panes in GUI with Lithos:Core

    Choonster replied to eleazzaar's topic in Support & Bug Reports

    This PR from bs2609 should fix the issue if it's merged.
    • February 16, 2018
    • 4 replies
  18. Choonster

    Server will not start

    Choonster replied to AreUThreateningMe's topic in Support & Bug Reports

    Forge doesn't support Java 9, you need to use Java 8.
    • February 16, 2018
    • 2 replies
  19. Choonster

    [Solved] Item added/removed ItemHandler Capabilty check

    Choonster replied to MinecraftMart's topic in Modder Support

    ItemStackHandler#onContentsChanged is called when the contents of an ItemStackHandler change, you can extend ItemStackHandler (possibly in an anonymous class inside your TileEntity) and override this to do you what you need.
    • February 16, 2018
    • 1 reply
      • 1
      • Like
  20. Choonster

    [1.12.1] How to get variants count

    Choonster replied to MineDen's topic in Modder Support

    Since this commit for 1.12. It was then done by Vanilla in 1.12.1.
    • February 16, 2018
    • 22 replies
  21. Choonster

    [SOLVED][1.12.2] Some sort of @SideOnly error (maybe event handler related)

    Choonster replied to jabelar's topic in Modder Support

    You need to tell Forge to only load and register the class on a specific side by passing a Side argument to the @EventBusSubscriber annotation. You can see an example of this here.
    • February 16, 2018
    • 4 replies
  22. Choonster

    :recompileMc Error starting modern compiler

    Choonster replied to 727021's topic in ForgeGradle

    Gradle ran out of memory, you need to give it more.
    • February 10, 2018
    • 2 replies
  23. Choonster

    Shadowing dependencies

    Choonster replied to Lagg's topic in Modder Support

    Your post is unreadable on the dark theme, you should use the Tx button to remove the formatting from it. You need to tell ForgeGradle to reobfuscate the shadow JAR, you can see how I do this here.
    • February 10, 2018
    • 2 replies
      • 1
      • Like
  24. Choonster

    Forge 1.12.2-14.23.2.2611 Will Not Start!

    Choonster replied to TobyMinceraft's topic in Support & Bug Reports

    Does this happen without OptiFine?
    • February 4, 2018
    • 6 replies
  25. Choonster

    [1.12] Biome Temperature Adjustment - Please code assist

    Choonster replied to Sopwith's topic in Modder Support

    I'm not going to write the code for you. Was there a specific part you didn't understand?
    • February 4, 2018
    • 6 replies
  • Prev
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • Next
  • Page 7 of 197  
  • All Activity
  • Home
  • Choonster
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community