Posted July 9, 20214 yr My code: EntityPlayer player=event.getEntityPlayer(); BlockPos target=event.getPos(); BlockBed targetedBed=(BlockBed) event.getEntityPlayer().getEntityWorld().getBlockState(target).getBlock(); Main.proxy.openBedGui();
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.