Everything posted by Failender
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
how about.. doing the things u need to disconnect after setting it null..?
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
cant see u calling onPowered. are u sure u are calling it? please do basic debugging. use sysos and find mistakes.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
show ur actual code please.
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
I think you need to mark the block for an update. search for the correct method in ur IDE, might solve the problem.
-
Checking if a block is within a radius of player?
well. One way to do that would be to make the conditioner ticking tileentities. every tick check how far every player is away (get their position and use gud simple math to calculate the distance) and give them benefits depending on the distance
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
i got json for blockstate item model and block model
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
{ "parent": "shadowsrising:block/toxicair", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } } } example from my actual project. and my texture is at assets.shadowrising.textures.blocks.toxicair
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
what the.. u should seriously fix ur models
-
[UNSOLVED]Strange things happen with my energysystem[1.8]
how about u show us the error log
-
[1.8] making semi transparent block
worked like a charm, thank you very much!
-
Checking if a block is within a radius of player?
checking from the block isnt the best idea. give us some more information please. why do you need to check that, when do you need to check that and how common is ur block
-
[1.8] making semi transparent block
to be honest. im not sure whats the problem in there. if i compare those jsons.. block models blockstates
-
[1.8] making semi transparent block
Oh sorry I was rewriting my text and removed the problem.. retarded me. The block is not transparent. Its passable and all that but rendering like there is no transparency
-
[1.8] making semi transparent block
Hey folks, I am triing to create a new type of air (toxic air), which means I need a block that will be semi transparent. To do so I took a look at glass and how it does that. I think that my solution lies in shouldSideBeRendered, but I feel like Im missing something. I took the original method from the BlockBreakable class and removed some unnecessary checks, but its rendering as a full block. The reason I dont extend BlockBreakable is because the method I want is hardcoded to work for glass. package de.failender.shadowsrising.blocks; import de.failender.shadowsrising.ShadowsRising; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.init.Blocks; import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.BlockPos; import net.minecraft.util.EnumFacing; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class ToxicAir extends Block{ public ToxicAir() { super(Material.air); setCreativeTab(ShadowsRising.shadowTab); } public AxisAlignedBB getCollisionBoundingBox(World worldIn, BlockPos pos, IBlockState state) { return null; } public boolean isOpaqueCube() { return false; } public boolean canCollideCheck(IBlockState state, boolean hitIfLiquid) { return false; } @Override public boolean isReplaceable(World worldIn, BlockPos pos) { return true; } public boolean shouldSideBeRendered(IBlockAccess worldIn, BlockPos pos, EnumFacing side) { IBlockState iblockstate = worldIn.getBlockState(pos); Block block = iblockstate.getBlock(); if (worldIn.getBlockState(pos.offset(side.getOpposite())) != iblockstate) { return true; } if (block == this) { return false; } return block == this ? false : super.shouldSideBeRendered(worldIn, pos, side); } }
-
[1.8] Mob killed statistics
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571567-forge-1-6-4-1-8-eventhandler-and
-
[1.8] Mob killed statistics
google Forge Event Handling and store information inside nbt, if minecraft isnt already storing it
-
[1.7.10] What happens if I forget @Override?
seriously ask that google
-
1.7.10 onItemRightClick problems
seriously. learn java. google the problem.
-
1.7.10 onItemRightClick problems
how about removing the argument if u are not using it..?
-
1.7.10 onItemRightClick problems
so. why do you have an argument in the constructor of the item if u are passing null there anyway.
-
[1.7.x] I want create new Gui MinMenu.
- 1.7.10 onItemRightClick problems
But you should ALLWAYS use the @Override annotation, because its not harming and helps you prevent dumb errors, like spelling the method u want to override wrong- 1.7.10 onItemRightClick problems
thats wrong. it tells the compiler to check if u are overriding correct.- 1.7.10 onItemRightClick problems
u need to know java to mod minecraft. there is no way around it. learn java. then come to minecraft. there is no other way and ppl need to understand that- 1.7.10 onItemRightClick problems
i already told you. - 1.7.10 onItemRightClick problems
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.