Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Cadiboo

Members
  • Posts

    3624
  • Joined

  • Last visited

  • Days Won

    58

Everything posted by Cadiboo

  1. Hard to see from your code but I believe this is z-fighting, it’s pretty easy to fix. Just remove overlapping parts
  2. I recommend looking at how some popular mods with open repositories do it, like actually additions or tinkers construct.
  3. Can’t see anything wrong with your code but I’ve never done anything with doors. Try doing some debugging, adding print statements to see what gets called also a GitHub would be appreciated
  4. ... your still going to need the same amount of block state models have a look at BlockResourceBlock in my mod https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/block/BlockResourceBlock.java and how I have multiple variants with only one class https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/init/Blocks.java
  5. If it doesn’t work your likely doing something wrong, also a heads up, metadata is being removed in 1.13
  6. That number is the metadata for the item
  7. WARNING: coremods are present: LucraftCoreCoreMod (LucraftCore-1.12.2-2.1.1.jar)Contact their authors BEFORE contacting forge report the rhe developers of LucraftCoreCoreMod. Minecraft should work properly if you disable that mod and any mods that use it
  8. This post is over a year old just so you know, but I’m sure that people in the future will appreciate that knowledge
  9. Do you have a GitHub? From your posts you appear to be doing some pretty crazy stuff to poor Minecraft and I’m wondering what the entire project looks like
  10. I’m pretty sleep deprived right now, and I don’t know if this is what your looking for but I had a similar issue (I was using xyz instead of pitch/yaw). I wrote a method that gets the coordinates to render at very exactly. Have a a look at the entityPos variable in https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/client/render/tileentity/TESRWire.java and the method that creates it (getEntityRenderPos) at https://github.com/Cadiboo/WIPTech/blob/master/src/main/java/cadiboo/wiptech/util/Utils.java The object (“Position”) it returns is pretty self explanatory. A double accuracy point in 3D space
  11. I can’t understand what your trying to do, but if your trying to render an item stack into a GUI with opacity (ghost item?) then look at how recipe book does it, or I have a number of ItemStack rendering functions in my mod’s Utils class cadiboo.wiptech.util.Utils.class you can find a link to my github in my signature
  12. Looking at the slowness and jump boost effects might help. For example in vanilla extremely high levels of both will “freeze” the player, making them unable to walk or jump, while they can still fall
  13. Gotten by the client with a packet _if_ they have the permission. It’s not a good option but it might be the closest thing possible
  14. Not exactly but looking at /blockdata might be helpful... you do get the information without opening the chest
  15. You can easily get around all this by just naming your models <item_name>.json and registering the models with ModelLoader.setCustomModelResourceLocation(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
  16. It doesn’t have to be an enum, it can be almost anything, however the most common things that are used are booleans, enum and integers. Remember you are going to have to be syncing your capability a lot, so yes enums are probably the best choice
  17. They are hard, but once your heads round them they Just Work (aside from syncing) What method is "completely deprecated"???
  18. This might be a good post to take a look at, and its relatively recent. http://www.minecraftforge.net/forum/topic/63654-capabilities/
  19. I assume IPB is the website builder/ whatever you want to call it that you are using? If thats true and this is the right company, you should be able to achieve this by editing the HTML template. https://invisioncommunity.com/4guides/themes-and-customizations/advanced-theming/using-the-template-editor-r125/
  20. Are you sure you need multiple capabilities? why not just one capability with all those values in it? What are you using your capability on? If your using Items/ItemStacks have a look at this code in my mod where I implement both the Energy Capability and my own Weapon Modules capability on my Item/ItemStack ItemGun This code is probably very messy and bad, but it was based on code written by one of Actually Additions authors, so I doubt its that horrible.
  21. Can you please mark the topic as solved? Also thought you would probably want to know that the link in your signature to your GitHub is broken!
  22. I assume you are inside the player block break event? Have a look at what I do in my EventSubscriber class
  23. Great! Please tag your topic with the Minecraft version and mark it as solved to help people in the future. You can change the title by editing the first post and changing the title to "[SOLVED] [1.12.2] Forge server crashes on launch".
  24. You NEED to use java version 8, minecraft and minecraft-forge will not run on any other version
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.