Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/22/17 in all areas

  1. There are two overloads of Block#hasTileEntity: one with no parameters and one with an IBlockState parameter. Only the one with no parameters is deprecated, the one with the IBlockState parameter is the one to override.
    2 points
  2. extending gui is fine the way you're doing it because you're not replacing any gui. My point was that one way people might do HUD is to actually replace the existing one, possibly extending it depending on how different they want to make it. You're not replacing a GUI so it is fine.
    1 point
  3. Well the way you're using the GUI class isn't exactly the way GUI are generally used. For example usually they are opened explicitly and have a drawing update. You're just using it to have some helper classes, which is fine, but not the same as actually opening a GUI where you do your code within the screen update methods. There are different types of incompatibility. You can't avoid some other mod wanting to draw over top of your stuff, but you can do things to avoid the other mod from preventing your stuff from being drawn. For example, if you chose to make your own custom ingame GUI that extends and replaces the forge one then if someone else used the same technique then they would end up replacing yours (or you'd replace theirs depending on the order the mods load). However, if you both handle the overlay event then both of you will get to draw what you want. Do you see the difference? -- if you're replacing something then there is more chance of conflict. If you're adding something there is less chance.
    1 point
  4. This code is out of date because I haven't updated the mod past 1.7, but sojourn give you an idea: https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/hazards/client/HazardsClientEventHandler.java#L138
    1 point
  5. I managed to do this by calling EntityLivingBase#stopActiveHand.
    1 point
  6. Add "parent": "block/block" to your bock model instead. Then you don't have to respecify all of the display tags.
    1 point
  7. You do not need a TESR for this and likely as not, a TESR can't do this. You want to subscribe to one of the rendering events and just render whatever you want.
    1 point
  8. GemTech is a mod I am working on. It requires TechniCore, my new mod that adds all the basic resources necessary for my other mods. I am always open to suggestions. This is the feature list and the mod is not yet available to download. I will post changes and updates often and hope to soon release a stable version! Have you ever wanted to become a gem? (From Steven universe) Have you wished you could have more cool unique tools, weapons, armor, and utilities? Well with GemTech, you can do just that! This mod adds lots of cool features like gem minions, power generation, and cool mundane tools, weapons and armor. But the main feature is being able to imprint a gem on your character and use cool abilities and utilities. Blocks: Gem Infused Glass - A blast-resistant glass made from 4 obsidian, a peridot, and 4 glass. Gem Infused Stone - Colored, blast-resistant stone made from different gems and stone Gem Generator - The most basic generator that generates the most gem energy, but consumes gemstones. Made from some gem machine parts, a gem energy capacitor, a ruby, a sapphire and some iron. Gem Heat Generator - Generates the lowest amount of GE, but only requires a gem combination placed in the inventory. Crafted with a gem energy capacitor, 2 lava buckets, 2 obsidian, some gem machine parts, a ruby and a sapphire. Gem Solar Generator - Generates a medium amount of GE with a single gem and the sun. Crafted with a solar conductance grid, some gem machine parts, a sapphire, a gem energy capacitor, 2 obsidian and 2 gold. Primitive Generator - Generates GE with RE, (Redstone Energy) or RE with GE. Crafted with 2 Kinetic Generators, (from TechniCore Machines) some gem machine parts, a redstone block, a gem energy capacitor, a redstone energy capacitor and 2 steel. (1 GE is worth 2 RE) Gem Infuser - Infuses a gem with other materials. Crafted with some gem machine parts, 2 diamonds, an obsidian gemstone, a gem energy capacitor, 2 quartz and a sapphire. Gem Augmenter - Changes and enhances gems' abilities and weapons. Crafted with 2 gem machine parts, a gem fusion core, a gem infuser, a gem energy capacitor, 2 diamonds and 2 redstone blocks. Gem Imprinter - Imprints a gem onto a player. Crafted with some gem machine parts, a gem fusion core, 2 iron blocks, a redstone block, a sapphire and 2 diamonds. Gem Activation Chamber - Required to imprint gems, activate gem minions and fuse gems. Crafted with 6 gem infused glass, gem machine parts and 2 sapphires. Gem Activator - Activates gem minions. Crafted with a gem energy capacitor, 2 gem machine parts, 2 rubies, a diamond, a redstone block, and 2 gem fusion cores. Fusion Activator - Fuses either 2 players, 2 minions, or a player and a minion. Crafted with a fusion core, some gem machine parts, an emerald, a ruby, a sapphire, 2 iron and a redstone block. Gem Energy Conduits - Transfers GE over a distance. Crafted with 6 gem infused glass, 2 redstone and 1 amethyst gem. (Crafts 6.) Warp Pad Controller - Tile entity part of a warp pad. Crafted with a gem energy capacitor, 4 iron, a warp pad block, and 3 quartz blocks. Warp Pad Block - Used for the warp pad multiblock structure. Crafted with 4 quartz blocks, 4 redstone and 1 diamond. Items - Gem Machine Parts - Used for crafting machines. Crafted with 2 iron, 2 sapphires, 2 rubies, an amethyst gem, a topaz gem and a jasper gem. Gem Energy Capacitor - Stores GE like a battery and is used for crafting. Crafted with an emerald, 4 iron and 4 gem infused glass. Gem Fusion Core - Used for crafting. Crafted with an emerald, a ruby, a sapphire, 4 iron and 2 redstone. Colored Topaz - Different colors of topaz used for different abilities. Made by infusing topaz with other gemstones. Blue Diamond - Variant of a diamond for imprinting. Made by infusing a diamond with a blue gemstone. Yellow Diamond - Variant of a diamond for imprinting. Made by infusing a diamond with a yellow gemstone. Pink Diamond - Variant of a diamond for imprinting. Made by infusing a diamond with a Rose Quartz gemstone. Obsidian Gemstone - Used for imprinting obsidian on a player and crafting. Made by smelting obsidian. Steven Universe is owned by Cartoon Network and Rebecca Sugar and I do not claim to own anything but my mod itself. This mod is classified under fair use laws and is not affiliated with CN or Rebecca Sugar. That is what I have for now, but I will update the post with new features often. This is a mod I want to work on, but I have not had time to. I almost have a stable release of TechniCore for 1.9.4/1.10.2. If anyone wants to help out I can try to work on this mod more, but I need more expertise to be able to do some of the more complicated stuff. I still believe in Minecraft modding, I just have a busy life and not much time on my computer.
    1 point
×
×
  • Create New...

Important Information

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