Posted January 22, 20214 yr Is there a way to set the FOV when a player use an item or creat a camera zoom Edited January 22, 20214 yr by Luis_ST
January 22, 20214 yr Author 1 minute ago, poopoodice said: Can be changed via FovUpdateEvent. i just found this. now another question i test this: if (player.getActiveItemStack().getItem() == CaveItems.SPYGLASS.get()) and this in my Item Class but why it doesent work+ it always return air @Override public ActionResult<ItemStack> onItemRightClick(World world, PlayerEntity player, Hand hand) { player.setActiveHand(hand); return super.onItemRightClick(world, player, hand); }
January 22, 20214 yr Author 3 minutes ago, diesieben07 said: getUseDuration needs to return a value > 0 for setActiveHand to work. By default it returns 0. In that second I found out for myself but thanks
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.