-
Posts
193 -
Joined
-
Last visited
Everything posted by Mitchellbrine
-
.setHeight(new BiomeGenBase.Height(*root height*, *variation*)); (Next time, I suggest taking a look in Minecraft's code before asking on here) EDIT: I derped. That's correct now.
-
How do i make the top layer of my custom biome red wool
Mitchellbrine replied to lickyman's topic in Modder Support
And a point to 1.8! 1.8: 1 1.7.10: Integer.MAX_VALUE jk, but that's pretty convenient in 1.8. -
[1.7.10] Custom "Machine" Not letting me move items in inventory.
Mitchellbrine replied to coppyhop's topic in Modder Support
You're opening on Client and Server. Open on Server-only. -
[1.7.10] Make custom machine use ore dictionary?
Mitchellbrine replied to roberth332's topic in Modder Support
You don't have to iterate through the list and add a recipe for each one. That's a bad idea. Try iterating through the list and instead of checking if the item matches, check that it is in an ore dictionary entry. -
[Solved]bindTexture("") Doesn't work with GUI Overlay[1.7.2]
Mitchellbrine replied to KaptainWiz's topic in Modder Support
bindTexture now requires a ResourceLocation. Unless you are using an older version, which if that's the case: UPDATE -
Make sure you put in a block name before the texture. Use setBlockName(*name*); though if you are using on of the newer versions of Forge, use: setUnlocalizedName(*name*);
-
How do i make the top layer of my custom biome red wool
Mitchellbrine replied to lickyman's topic in Modder Support
That's a bit of a lie. When you set the topBlock, there is also a field you can set to set the topBlock's metadata. I don't know it off the top of my head (it's a field_ field) but I know it is there. -
[1.7.10] Modify a ToolMaterial after Registration
Mitchellbrine replied to Izzy Axel's topic in Modder Support
You're not supplying it with the correct arguments. That's why it's "not applicable for the arguments". -
[1.7.10]Making My Custom Chat Message Lime
Mitchellbrine replied to KingYoshiYT's topic in Modder Support
I would suggest using the nice method already given to you. Use ChatComponentTranslation (or ChatComponentText) and add in the ChatStyle set the color to lime. (I'm not going to give you any code because I want you to learn) -
Universal Tool API / Ore Dictionary tag for wrenches etc. ?
Mitchellbrine replied to Busti's topic in Modder Support
You could always add those items to the ore dictionary. I don't believe there is a RULE for it, but if you can make your mod add in all the wrenches into the ore dictionary. Am I getting the right idea with what I'm saying? -
[1.7.10][SOLVED] Stone Bricks and Quartz don't have efficient tools
Mitchellbrine replied to Taji34's topic in Modder Support
What is your harvest level? Show me code for you setting the harvest level. -
[1.7.10]How to add PotionEffect(s) to custom armor
Mitchellbrine replied to pickaxe_engineer's topic in Modder Support
Someone please move this to Tutorials or somewhere where it needs to be! -
Doing something when a player switches dimensions
Mitchellbrine replied to Lightwave's topic in Modder Support
Make the gamemode, check if the player is in the dimension and if so, check if their game mode is not the certain dimension, and if so, change their gamemode! -
[1.7.2] Error when trying to make a machine
Mitchellbrine replied to kulalolk's topic in Modder Support
Um... learn Java... -
[1.6.4] Trouble With Opacity/Backface Culling
Mitchellbrine replied to XLzanfran's topic in Modder Support
Try using getRenderBlockPass. Taking a look at what glass does (which I highly recommend doing before asking us), I see that that would most likely be what would help. -
[1.7.10]help onItemUse sending chat message twice [solved]
Mitchellbrine replied to spiderbiggen's topic in Modder Support
NO! DO NOT USE @SideOnly! Use if (world.isRemote) { // Do things! } -
How about store the UUID and player name when the ownership is given and at some point check to see if the UUID is the same, but username isn't. If the two names are different and UUIDs are the same, then change the name then. And the addInformation is good for this stuff. Just make sure the NBT exists in the ItemStack.
-
I'd check if the player doesn't have permission, and if so, search through the inventory on crafting to see if he has the item and remove it and give back the recipe ingredients. That would be a way of doing it.
-
World.getBlock much?
-
I'd make the player's motionY 0.0 when the block below him is water.
-
Find Block Anywhere in World (or a workaround)
Mitchellbrine replied to TricliniumAlegorium's topic in Modder Support
Then it's not being called. (I'd also make it: (int)Math.floor(entity.posX) to avoid rounding issues) Is the method being called at all? -
Find Block Anywhere in World (or a workaround)
Mitchellbrine replied to TricliniumAlegorium's topic in Modder Support
Learn Java. Learn how to cast. Then, it won't be an issue. -
Find Block Anywhere in World (or a workaround)
Mitchellbrine replied to TricliniumAlegorium's topic in Modder Support
You are checking for a block at the chunk coord, not the player's coord. Check at the player's coord. - - - Also, don't close your thread if you think you've figured it out. Keep it there so people can learn from it.