
redria7
Members-
Posts
120 -
Joined
-
Last visited
Converted
-
Gender
Male
-
Personal Text
Proud creator of nothing new or interesting
redria7's Achievements

Creeper Killer (4/8)
12
Reputation
-
[Help]Making portal travel to a custom dimension
redria7 replied to ExcuseMyLuck's topic in Modder Support
You are probably having trouble with teleporting back and forth, forever. Every player should have an integer variable called something like portalCoolDown or something similar. When you teleport your player, set that to 100 or something to begin with, then whenever you have your collision method for your block, where you initially teleport the player, check to make sure the cooldown is equal to 0 before you teleport. If the cooldown is greater than 0, then they cannot teleport and it gives the player time to exit the teleporter. Also, you will want to look into where your player lands when they teleport and where the portal is built. If they land in the teleporter like you do with the nether, it makes it easier to accidentally teleport back when you don't want to. -
[UNSOLVED]Adding texture overly to a specific custom Block?
redria7 replied to bl4ckscor3's topic in Modder Support
....Interesting. Thank you. Create a class that implements ISimpleBlockRenderingHandler. The method renderWorldBlock is given the renderer. The link I posted has more than you need, but it does help a lot with setting up your first custom block renderer and you can learn a lot from it. -
[Solved]Multi texture block bug in inventory
redria7 replied to decebaldecebal's topic in Modder Support
I meant the second bug. That's why I quoted you mentioning the second bug. Put a piece of coal and 8 iron in a vanilla furnace and wait till 4 pieces have been smelted. The fire will have burned down halfway. Exit the world, then log back in, and you will notice the fire is full again, and will drop rapidly when it reaches the last item to be smelted. -
[UNSOLVED]Adding texture overly to a specific custom Block?
redria7 replied to bl4ckscor3's topic in Modder Support
Should do, but if they want it to sort of have a mixed texture... look up the randomite mod he mentioned and look at how that texture blends into the stone background. That has to use alphas to work. It is a little bit more complex, but not too bad. -
[Solved]Multi texture block bug in inventory
redria7 replied to decebaldecebal's topic in Modder Support
This bug is present in vanilla furnaces too last time I checked. If anyone knows a fix, I could use it too, but I've kind of given up on it myself. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
Ack! I'm trying to get out of this thread! haha. I was saying yeah to flame. I should have quoted. I'm not sure how to go about doing entities really. Sorry. Good luck. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
Yeah. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
I, uh, may have obsidian tools. BUT That is one of the things I did when I was learning how to mod. And I made it interesting. Kind of. I have lots of other stuff that is part of my pack. And I plan on calling it a mini mod pack because I'll have several independent mod sections that can be turned on and off through config if someone cares enough. Anyway, I'll let this thread continue. I've hijacked it long enough. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
I'm pretty confident in what I've done, but I also want that reveal moment. Where I have everything finished and I get to just show everything at once. So, you know, a couple spotlighters can say "oh wow" and no one else notices and life continues as normal... I don't think there is really anything to fear: I think most people go into modding because they have a specific idea in mind to start with, but I play my little games. -
[UNSOLVED]Adding texture overly to a specific custom Block?
redria7 replied to bl4ckscor3's topic in Modder Support
http://www.minecraftforge.net/wiki/Multiple_Pass_Render_Blocks Start there. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
Sorry, tile entity is my thought for this on how it would work easiest. By pointing out that that's exactly what you were doing already I was (not very clearly) pointing out that that method was already being done, so using a different method would probably be a good idea. I respect the fact that you are willing to help someone doing something similar to what you are doing when you haven't released yet. I plan on going open source the moment I release, but I am trying to hide my more fun features until I release just in case someone else likes the idea and releases first. I'm a little selfish that way. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
Tile entity my friend. A tile entity with a gui where you can alter size and... do exactly what flame is doing! Or try the entity. Mobs, players, TE's, all of these are entities. Items on the ground are entities. Creating one wouldn't be impossible. Maybe make something similar to a spawn egg, except instead of spawning a mob, it spawns an entity that has a set size and shape and covers a large area, with no collision etc. Then your mayor can give each person one egg from creative mode, and the players can throw the egg at a location and it locks that location to them. -
[UNSOLVED]Adding texture overly to a specific custom Block?
redria7 replied to bl4ckscor3's topic in Modder Support
You want... a texture pack that changes the texture of other people's mods? Or is it your own ores that have default textures? Or the vanilla ores? Looking up the randomite mod, it looks like you want it for your own. You probably need a custom renderer. The first thing you need to have your custom renderer is get the icon for regular stone. This will let you have that textured stone background. From there you have several choices. 1: Draw in textures in sections. You know exactly where your ore is going to show up in the block. Say you are just going to have a 4x4 square in the middle of the block. You are going to go in and draw in each side of the block individually, and on each side you would draw in a rectangle containing most of the bottom half of the stone texture, up to the bottom of where your ore shows up. Then you draw in 2 rectangles the height of your texture extending from the sides of the texture to the sides of the block. Then finally another big rectangle extending from the top of your ore to the top of the block. This draws in a regular stone block with a gap in the center. Then you just need to draw in your ore texture in the center of the block and it will look like you want. 2: Draw the texture in layers. I think this is how your example did it. Draw the stone block like normal. This gives you a base to work with, and takes much less effort than drawing each side. This will happen in pass 0, the solid block pass. Then your custom renderer and block will have to be set up to render in both passes. Your ore texture will be just the ore spots, with maybe a little bit of distortion around the edges if you want it like your example, with that distortion being slightly transparent. In the alpha pass or rendering, you will draw in the entire texture of your ore. This will theoretically overlay the normal texture and give you what you want. If you run into problems with z-fighting, where your texture flickers in and out of the stone texture, just expand your block bounds when drawing your ore texture ever so very slightly, so it is barely bigger than the stone block. -
[UNSOLVED] Experts Only: Individual Block Overlay using OpenGL?
redria7 replied to Jaspa_Jones's topic in Modder Support
Are you wanting this to just always be there or are you specifically wanting it to happen when you have another block placed already? If you place a block in order to have the overlay, you could use a custom renderer on that placed block and draw your overlay from there. To make it cover the block that is there in the first place, you could set the block bounds to be just ever so slightly larger than a normal block, so it completely covers the normal block that is there already. If you want it to just exist there, I can't really help you. -
[solved] Tile Entity Initialization Client Side
redria7 replied to redria7's topic in Modder Support
Yeah, I caught that moments before you replied. Thanks though. I had it there and decided to comment it out since I didn't see it immediately contributing, then I finally looked at the sign tile entity and saw: /** * Overriden in a sign to provide the text. */ public Packet getDescriptionPacket() and realized my mistake.