protected override async Task <BlockState> ConvertToBlock(IEntity entity, IGrainFactory grainFactory, IWorld world, BlockWorldPos position, Slot slot) { var facing = ChestBlockHandler.PlayerYawToFacing(await entity.GetYaw()); return(BlockStates.Furnace((FurnaceFacingType)facing, FurnaceLitType.False)); }
protected override async Task <BlockState> ConvertToBlock(IPlayer player, IGrainFactory grainFactory, IWorld world, BlockWorldPos position, Slot slot) { var facing = ChestBlockHandler.PlayerYawToFacing(await player.GetYaw()); return(BlockStates.Furnace(facing)); }