They've really changed the way sounds are managed in recent versions of forge, but theoretically there would be a cancelable event you could use to intercept them.
Instead, maybe you can get same effect by changing the sound volumes to 0. If you do that, you should store the previous value of the volumes so you can restore them later (othewise it would be really annoying to the user to have to adjust the volumes again in options every time).
- IJimmy198
- Registered Member
-
Member for 11 years, 5 months, and 10 days
Last active Fri, Feb, 19 2016 05:04:31
- 5 Followers
- 34 Total Posts
- 17 Thanks
-
1
jabelar posted a message on [SOLVED] How to stop all sounds in the game?Posted in: Modification Development -
1
SuperSushix posted a message on [1.6.4] TerraMine Mod 1.0.0 - New Biomes, Mobs, Eye of Cthulhu, Mana, Crimson and more!Posted in: Minecraft ModsI found your mod really interesting, so much so I did a mod review for ya!
-
1
Surseance posted a message on [ModLoader] How to rotate a bow 90 degreesNah, don't use models. It's too much hassle for a simple fix. The solution I have in mind, however, edits some base classes, unless you intend to do a crap load of work to go around it. If you know anything about the EnumActions in the ItemRenderer file, you'll know all about things like:Posted in: Modification Development
GL11.glRotatef(float angle, float x, float y, float z); GL11.glTranslatef(float x, float y, float z);
In any case, you can rotate the bow 90 degrees by altering the angle and positional ratios with the methods above. So go to the ItemRenderer file and find the part where it says:
else if (enumaction1 == EnumAction.bow) {
Usually, I like to add a separate boolean when editing base classes so I know what certain function or button to push in order to initiate the action I desire...in this case, I used sneaking:
if(mc.thePlayer.isSneaking()) {
Now, all you need to do is add the glRotatef and glTranslatef functions within your boolean:
if(mc.thePlayer.isSneaking()) { // float angle, float x, float y, float z GL11.glRotatef(-93.4F, 265.2F, 122.5F, -255.9F); // float x, float y, float z GL11.glTranslatef(0.5F, 0.45F, 1.28F); }
Now, the complete code (including the pre-exisiting code should look like:
else if (enumaction1 == EnumAction.bow) { if(mc.thePlayer.isSneaking()) { // float angle, float x, float y, float z GL11.glRotatef(-93.4F, 265.2F, 122.5F, -255.9F); // float x, float y, float z GL11.glTranslatef(0.5F, 0.45F, 1.28F); } else { GL11.glRotatef(-18.0F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(-12.0F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(-8.0F, 1.0F, 0.0F, 0.0F); GL11.glTranslatef(-0.9F, 0.2F, 0.0F); f11 = (float)itemstack.getMaxItemUseDuration() - ((float)entityclientplayermp.getItemInUseCount() - par1 + 1.0F); f13 = f11 / 20.0F; f13 = (f13 * f13 + f13 * 2.0F) / 3.0F; if (f13 > 1.0F) { f13 = 1.0F; } if (f13 > 0.1F) { GL11.glTranslatef(0.0F, MathHelper.sin((f11 - 0.1F) * 1.3F) * 0.01F * (f13 - 0.1F), 0.0F); } GL11.glTranslatef(0.0F, 0.0F, f13 * 0.1F); GL11.glRotatef(-335.0F, 0.0F, 0.0F, 1.0F); GL11.glRotatef(-50.0F, 0.0F, 1.0F, 0.0F); GL11.glTranslatef(0.0F, 0.5F, 0.0F); f14 = 1.0F + f13 * 0.2F; GL11.glScalef(1.0F, 1.0F, f14); GL11.glTranslatef(0.0F, -0.5F, 0.0F); GL11.glRotatef(50.0F, 0.0F, 1.0F, 0.0F); GL11.glRotatef(335.0F, 0.0F, 0.0F, 1.0F); } }
If you don't understand anything about OpenGL, thankfully, there is a multitude of wonderful tutorials you can use as a resource. Good luck with the modding hope this helps!
End result should look like this:
-
1
Delilahtw posted a message on [1.5.2] SkyExchange v1.1 - A Skyblock survival with Equivalent Exchange 3Posted in: Maps
Hi all, here is my new map. I'm playing at the moment Skytable 2 and I really like the idea to play a map like skyblock with equivalent exchange because you can get different challenges and the map is really different, so.... I was thinking in doing something similar for the actual version of minecraft with the latest equivalent exchange. I recommend for the gameplay use the mod NEI because is easy to see the recipes of the minium stone. The map include a little shop where you can buy a few items that in a skyblocks maps are impossible
to get and you need exp as a coins in the shop so can be a good idea to do......who knows....
The map requires a clean install of minecraft 1.5.2 with forge and equivalent exchange 3 installed.
Link to forge: http://files.minecraftforge.net/
Link to Equivalent Exchange 3:http://www.minecraft...change-3-pre1h/
Challenges:
Build a House
Build all the possible farms in minecraft (Wheat, Potato, Carrots, Melon, Pumpkin, Cocoa)
One of the farms at least need to be an automatic farm with redstone.
Build a mob trap
Get 16 wool of each dye.
Build a Iron Golem
Build a Snow Golem
Build 10 mushrooms stew
Get 4 Emerald Blocks (36 Emeralds)
Get 8 Diamon Blocks
Get 16 Gold Blocks
Get 8 Redstone Block (72 Redstone)
Build a Village
Trade with Npc Villagers to get items for other challenges.
Build a roller coaster
Build a nether fortress
Build 3 potions of each.
Build 3 splash potions of each.
Build something epic with quartz.
Get all the redstone items.
Get 10 fish.
Get all armors in all materials.
Get all the tools in all materials.
Build an Anvil
Get enchanted books.
Build a Enchantment Table
Put all the armors and tools in an epic place with frames
Build the Ender Portal.
Kill the Dragon
Screenshots:
Changelog
v1.0 First Map
v1.1 Fixed Bugs in the redstone.
Add a system for storage exp from the shop.
Download Link:
v 1.0 http://adf.ly/Qw28t
v 1.1 http://adf.ly/QwEwQ - To post a comment, please login.
1
I'll try to do that. Thanks for the idea!
2
In the release 1.1.1 is rarely found in underground. To get more, you need to kill the Eye of Cthulhu
7
Hello everyone this is my first mod for Minecraft called TerraMine and I hope you like it!
TerraMine Mod adds more than 100 new things from Terraria to Minecraft without losing the essence of minecraft, these new objects have typical vanilla Minecraft textures but are modified, and the new weapons and tools are much better than those we usually use in Minecraft. This mod It has only a small part of all that I have planned to do, I will update this mod with time.
This mod is required Forge installed in Minecraft.
-Download Minecraft Forge
News:
[18.10.2013]
- TerraMine Mod 1.1.0 Beta is Relased
This version includes:
- 8 new Ores
- New materials
- 32 new tools
- 8 new weapons
- And 8 new sets of armor.
This mod will be updated and I will add more stuff!
Screenshots:
Here's some pictures of the new Blocks and Items which adds TerraMine Mod:
New ores. All these spawn in the overworld except the Hell Ore, that spawn only in the nether.
New Blocks. All these blocks can craft with 9 ingots of each material.
Armor. Can be crafting with ingots like the typical armor but the hell and meteorite armor can have especial abilities adding more ingots to the crafting.
You can craft all these tools and the hell and meteorite tools have special crafts too.
In TerraMine you will find 8 new materials from Terraria, some some are stronger, some are more resilient and some have special abilities:
Info and Crafting:
How to install:
1 - Download and Install Minecraft Forge API
2 - Put the mod in the mods folder on .minecraft
3 - Enjoy the mod!
--Downloads--
TerraMine Mod 1.1.0 Beta: Download
Download for Forge SSP/SMP installer (1.6.4): Download
Special thanks to Angie VikingSquad!
You can put this mod in your mod pack if you like!
5
Hello everyone! This is my first mod for Minecraft: TerraMine! I hope you like it!
TerraMine Mod adds more than 200 new things from Terraria to Minecraft without losing the style of minecraft. This mod has only a small part of all that I have planned to do, I will update this mod with the past of the time.
To easily understand this mod and know how it works it is advisable to to have played Terraria before.
If you find any errors or have any ideas that may be good to add to the mod, feel free to tell me!
TerraMine is required Forge installed in Minecraft.
Download Minecraft Forge
TerraMine Wiki: In progress
Videos:
Coming soon...
If you make a video or review of this mod, tell me and I put your video here
Pictures and Descriptions:
New Blocks:
Ores:
In TerraMine you will find 8 new ores from Terraria, some some are stronger, some are more resistant and some have special abilities.
Expensive Blocks:
All these blocks can craft with 9 ingots of each material. Some blocks are very expensive to craft.
Biomes Blocks:
You can find this blocks in the 3 new biomes: Corruption, Hallow and Crimson. These blocks expand to other blocks that are touching around them.
Color Torches:
These new torches act exactly like the normal, are special to decorate.
New Items:
TerraMine includes 158 new items. Some of them were created by me and have special abilities. Other items act almost equal to those of Terraria.
Special Items:
Mana:
This object is essential to operate the special items is crafted with 2 golden stars.
Magic Mirror:
Right-clicking on it you teleport to last spawn point. You need to have a star of mana to make it work.
Angel and Demon Wings:
Right clicking with wings in hand, the wings propel you upwards. You need to have feathers in your inventory.
Ice Rod:
Right-clicking on a mob with ice rod will freeze any mob forever. A star Mana is required to make it work. You can freeze every 10 seconds.
Ender Star:
This new item is my creation. When you right click on it you will push to where you're looking. Feathers are needed to make it work.
Diving Helmet, Hermes Boots, Obsidian Skull:
These are placed in the spaces of the armor. They give you special abilities.
Suspicious Looking Eye:
Used to summon the Eye of Cthulhu. Used by right clicking on a block. You can only use at night. By invoking the Eye of cthulhu, a message ''The Eye of cthulhu has awoken!'' Is displayed and appear from heaven.
New Mobs:
Blood Crawler:
This new spider acts the same as the normal, is stronger and has more health. Don't makes living sounds (like the creeper). Attacks during the day and only spawns in the Crimson.
Demon Eye:
Spawn at night and it does not hurt (yet). It burns during the day. It is necessary to get the Lens.
New Boss:
Eye of Cthulhu:
It's the first boss of Terraria, is also the easiest to kill. It is invoked with the Suspicious Looking Eye. Can only be invoked at the night.
New Biomes:
The first 3 biomes have no difference (yet) except the Crimsonbecause the Blood Crawler spawn there. These three biomes expand around, so be careful where you build.
Corruption:
Hallow:
Crimson:
Frozen Plains:
If you want to review or make a video of this mod, do that! And if you want, tell me and I'll post your video here!
Installation
TerraMine 1.0.0 for Minecraft 1.6.4
Previous versions:
TerraMine 1.1.0_Beta for Minecraft 1.6.4
Special thaks to:
vikingSquad, Zuly_8 and Pablo800042... For giving me feedback, ideas and test the mod.
1
Thank you! ... I already added much more to the mod, but not yet update the post.
1
That is to start quickly in survival, as it may mine with a wood pickaxe.
The bosses and the mobs will be added later.