-
How to make blockplacing dependent on the blocks underneath?
Okay, as previous stated, i'm new to this. Anyway, pos.down solved it for me
-
How to make blockplacing dependent on the blocks underneath?
I Think it does(not sure, not pro), i did click on it and found a place in the code, specifying what position it should look at. Down was the block underneath
-
How to make blockplacing dependent on the blocks underneath?
Thank you Ernio. It works now, you were right. I changed the return worldIn.getBlockState(pos).getBlock() == CDBlocks.obsidianBase; to return worldIn.getBlockState(pos.down()).getBlock() == CDBlocks.obsidianBase; Thanks
-
How to make blockplacing dependent on the blocks underneath?
Not sure what you mean by that, offset BlockPos by 1 down?
-
How to make blockplacing dependent on the blocks underneath?
Hey So, this is what i got from those files.. It throws no errors, but i'm not able to place the block at all. Not even on the "obsidanBase". @SideOnly(Side.CLIENT) public boolean canPlaceBlockAt(World worldIn, BlockPos pos) { return worldIn.getBlockState(pos).getBlock() == CDBlocks.obsidianBase; } What do i need to get the desired effect? Sorry for the stupidity, but i'm new to it. Thanks
-
How to make blockplacing dependent on the blocks underneath?
Okay, thank you both. I Will look into that. Just didn't have the time at that moment. Thanks
-
How to make blockplacing dependent on the blocks underneath?
Arrrh.. I see what you ment.. I'll take a look at that redstone code.. Thank you. Anyway, do any of you, have a suggestion for how i could insure that the block only is placed when a specific block is underneath? OnBlockPlacedBy may work, but do you maybe have a suggestion for that piece of code? Thanks
-
How to make blockplacing dependent on the blocks underneath?
Thank you for the quick response. I think you're right about the onBlockPlacedBy. Pistons won't be a problem, as this block needs to be placed by a player.. I'll try this out later, thank you
-
How to make blockplacing dependent on the blocks underneath?
Hello guys. So, to tell a bit more about what i really want to do here.. I have a few special blocks. These blocks should only be able to be placed, on other special blocks. I tried looking something up in-game, that i could just grab and modify, but i couldn't seem to find something that did the job. Thats why i'm asking if anyone got ideas of how to do this? Thank you
-
How to change hitbox sizes on blocks?
Thank you. That solved the issue perfectly, thank you
-
How to change hitbox sizes on blocks?
Hello guys. So I've loaded the beacon .json model file, up in Cubik. I made some changes to it, so that it no longer are a whole block in width and length, but a little smaller (Linked screenshot for better visualization). My question is, how do i change the black box to only be the high, width and length that the block actually has? Screenshot: http://gyazo.com/bae454e00e0a027fcf73f60ea163cc4a Thank you -nikko4913
-
[1.8][SOLVED] Textures doesn't work on items.
Thank you. I'll take a look at the links and get back to you if i get anymore problems.
-
[1.8][SOLVED] Textures doesn't work on items.
Hello guys! So, i'm in the making of a small mod for Minecraft 1.8. The mod is going to be all about crops, and therefore, i'm going to add in quite a few items. I want those items to have textures, and following this tutorial: should give me just what i wanted. Anyways, i've now tried two times, resetting/deleting proxies, JSONs and itemclasses, however, i do not see a change about the textures though. I keep getting a box-like purple/black block in my inventory. Whenever i load Minecraft, i have the item, but it's represented as a block and no textures, even though i have defined (I think) the .png 16x16 texture. If any of you'd be interested in helping me out, i would be happy. I've linked to my Github, and should you need more info, just comment. Github: https://github.com/nikko4913/Cropification (Know the name sucks btw ) Thank you -nikko4913
-
mcmod.info dosn't work. Intellij IDEA
Woooooooooooow..... Gooood i'm stupid... Okay so it was the comma at the end of the line.... I just ran a Minecraft and it worked perfectly. Tank you so much, hopefully this is the last time i will be bugging you with this issue...
-
mcmod.info dosn't work. Intellij IDEA
I will look into that .gitignore soon. Okay, so that version line.. Should i update it to say "1.7.10-1.0" or what? Because i tried that and no changes...
IPS spam blocked by CleanTalk.