help
-
Why doesnt the first code work and the second works?
var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.getPosition())).getBlock() == Block.getBlockById(65)) { Chat.print('a') }var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(65)) { Chat.print('a') } -
Why doesnt the first code work and the second works?
var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.getPosition())).getBlock() == Block.getBlockById(65)) { Chat.print('a') }var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(65)) { Chat.print('a') }@skidma position does not return xyz
-
Why doesnt the first code work and the second works?
var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.getPosition())).getBlock() == Block.getBlockById(65)) { Chat.print('a') }var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(65)) { Chat.print('a') } -
Why doesnt the first code work and the second works?
var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.getPosition())).getBlock() == Block.getBlockById(65)) { Chat.print('a') }var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(65)) { Chat.print('a') }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login